Android(安卓)API 28 使用 android-async-http1.4.8 报错
16lz
2021-01-24
项目升级 API 28后,使用 android-async-http1.4.8 时,报错如下:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/logging/LogFactory;
换成 android-async-http1.4.9,问题可解决。
若执意要用 android-async-http1.4.8 ,在libs中加 commons-logging-1.2.jar,注意不能用
dependencies
{
implementation 'commons-logging:commons-logging:1.2'
}
会有冲突。
最后,还是不要用 android-async-http 了,太久不更新,问题太多。
更多相关文章
- 关于android Error:Execution failed for task ':app:transformC
- Android(安卓)UI开源框架
- AndroidStudio安装及配置Gradle遇到的Error及解决办法
- Android(安卓)DynamicLoadApk 开源插件开发项目代码剖析
- Cordova 入门AndroidStudio集成
- React native Android(安卓)命令 打包apk
- Android(安卓)Kit
- Android(Java):把EHCache集成到android项目里
- qt for android 实现开机自启