关于 Android 9.0 ClassNotFoundException: Didn't find class "org.apache.http.protocol.BasicHtt

吾生也有涯,而知也无涯。这篇文章主要讲述关于 Android 9.0 ClassNotFoundException: Didn' t find class " org.apache.http.protocol.BasicHtt相关的知识,希望能为你提供帮助。
一、案例

--------- beginning of crash 2020-01-07 09:48:43.794 20120-20156/? E/androidRuntime: FATAL EXCEPTION: pool-4-thread-1 Process: com.sjylz.sanli, PID: 20120 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/protocol/BasicHttpContext; at com.lidroid.xutils.HttpUtils.< init> (Unknown Source:5) at com.lidroid.xutils.HttpUtils.< init> (Unknown Source:1) at com.jeany.e.a.a(Unknown Source:34) at com.jeany.e.a.b.a(Unknown Source:98) at com.jeany.b.c.h(Unknown Source:1) at com.jeany.b.c.g(Unknown Source:3) at com.jeany.b.c.b(Unknown Source:10) at com.jeany.a.a$1.run(Unknown Source:4) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:929) Caused by: java.lang.ClassNotFoundException: org.apache.http.protocol.BasicHttpContext at com.lidroid.xutils.HttpUtils.< init> (Unknown Source:5) at com.lidroid.xutils.HttpUtils.< init> (Unknown Source:1) at com.jeany.e.a.a(Unknown Source:34) at com.jeany.e.a.b.a(Unknown Source:98) at com.jeany.b.c.h(Unknown Source:1) at com.jeany.b.c.g(Unknown Source:3) at com.jeany.b.c.b(Unknown Source:10) at com.jeany.a.a$1.run(Unknown Source:4) at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:929)

二、详见参考文档
三、参考文档
解决闪退问题:https://blog.csdn.net/weitao_666/article/details/90082986
:https://blog.csdn.net/wahaha13168/article/details/81032385
【关于 Android 9.0 ClassNotFoundException: Didn' t find class " org.apache.http.protocol.BasicHtt】解决网络问题:https://blog.csdn.net/qq_39959838/article/details/82918676

    推荐阅读