关于 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
推荐阅读
- LoadRunner性能测试-app压力测试
- MyBatis Plus 自带BaseMapper解析
- Android中点击按钮获取string.xml中内容并弹窗提示
- logback源码阅读-Appender
- 利用kali生成木马远程控制安卓手机
- uniapp中小程序的授权操作
- vant weapp tab切换 结构隐藏 下方高亮线消失解决方案
- class path resource [applicationContext.xml] cannot be opened because it does not exist
- Android中通过数组资源文件xml与适配器两种方式给ListView列表视图设置数据源