码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2020-01-07 13:22:44      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:dex   unknown   文档   exec   tao   tps   article   task   get   

一、案例

--------- 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

解决网络问题:https://blog.csdn.net/qq_39959838/article/details/82918676

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

标签:dex   unknown   文档   exec   tao   tps   article   task   get   

原文地址:https://www.cnblogs.com/pinweyshg/p/12160642.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!