- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 More than one file was found with OS independent path 'lib/armeabi-v7a/libgnustl_shared.so'
项目需要集成萤石云视频SDK,运行时报More than one file was found with OS independent path 'lib/armeabi-v7a/libgnustl_shared.so' 错误,翻译为 找到多个与操作系统无关的文件,路径为“lib/armeabi-v7a/libgnustl-shared.so”,可以理解为libgnustl-shared.so 这...
2019-09-02 18:43:42
1336
原创 getResources Fragment not attached to Activity
错误堆栈详情:这种情况一般出现场景fragment执行耗时任务(一般是网络操作),在执行完毕之前用户操作fragment退出,导致fragment 与父Activity 失去关联(disAttach),当我们调用getResource时,操作之前默认调用了getActivity ,因此会报错 解决方法: 1.在使用getResource之前 加判断 isAdded(),如...
2018-06-29 15:03:24
992
原创 Unknown host ‘android.oa.com‘. You may need to adjust the proxy settings in Gradle.
Android studio 导入微信支付Demo出现错误Error:Unknown host 'android.oa.com'. You may need to adjust the proxy settings in Gradle. 折腾半天终于解决问题,废话不多说直接上图1.打开项目目录gradle/wrapper/:2.打开gradle-wrapper.pr
2017-04-13 17:12:54
14309
6
原创 android 6.0(api23)以后,编译项目时出现 d程序包org.apache.http不存在或者这个类找不到的错误
在一次项目开发中偶然把sdk升级到了Android 6.0(api23),出现了Error:(5, 23) 错误: 程序包org.apache.http不存在的情况,各种重新编译之后还是不行,然后去查了api 23,发现org.apache.http中好多方法都没了,后来网上查了一下,才知道api 23不再提供org.apache.http.*(只保留几个类)。解决方案:1.在gr
2016-08-26 11:23:01
380
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人