Android加载so文件报java.lang.UnsatisfiedLinkError: has text relocations
2017-09-25 14:33
357 查看
错误详情:
java.lang.UnsatisfiedLinkError: dlopen failed: has text relocations
出现这个异常,是因为你项目的targetSdkVersion太高,你的so库不能支持
java.lang.UnsatisfiedLinkError: dlopen failed: has text relocations
出现这个异常,是因为你项目的targetSdkVersion太高,你的so库不能支持
解决办法将targetSdkVersion降低,建议降到23以下试试,不行就继续降低
例如:
compileSdkVersion 24 buildToolsVersion "24.0.3" defaultConfig { applicationId "com.example.th.elive" minSdkVersion 15 targetSdkVersion 21//将这里降低 versionCode 28 versionName "1.0.2.8" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true }
相关文章推荐
- android WebView加载不出网页内容This request has been blocked; the content must be served over HTTPS.
- 解决动态库在Android平台加载时libavxcore.so: has text relocations错误
- android WebView加载不出网页内容This request has been blocked; the content must be served over HTTPS.
- android开发 加载so库的解析和出现的各种错误分析
- Android基础之加载大图片
- Android CircleProgress:可自由定制实现各种样式圆形加载进度
- Android 加载展示本地图片以及多点触控放大缩小展示图片
- android中ListView的分页加载数据实现
- Android图片加载利器之Picasso扩展功能
- Android高效加载大图、多图解决方案,有效避免程序OOM
- Android Launcher中桌面图标的加载和存储
- Activity has leaked window com.android.internal.policy.impl.PhoneWindow
- Android WebView页面加载优化
- Android进阶—GridView加载网络图片
- Android 键盘使用二(监听输入法搜索时防止两次加载)
- Android加载大量图片时候的坑与改进方式
- Android-Universal-Image-Loader 图片异步加载类库的使用(超详细配置)
- 【Android】Fragment懒加载和ViewPager的坑
- Android下将图片加载到内存中
- Android开发之多媒体编程之加载大分辨率图片