上传依赖项.apk 时出错:警告:链接器:libhoudini.so 有文本重定位 [英] Error while uploading dependencies.apk : WARNING: linker: libhoudini.so has text relocations
问题描述
我在 Windows 中使用稳定版 Android Studio 2.3,在创建任何新项目并在模拟器上安装 apk 时,我收到此错误并且 apk 安装失败.
I am using Android Studio 2.3 stable in Windows and while creating any new project and installing apk on emulator, I am getting this error and apk install fails.
上传依赖项.apk 时出错:警告:链接器:libhoudini.so 有文本重定位.这会浪费内存并阻止安全加固.请修复
Error while uploading dependencies.apk : WARNING: linker: libhoudini.so has text relocations. This is wasting memory and prevents security hardening. Please fix
我该如何解决问题?
推荐答案
经过一些研究,我发现 gradle 2.3.0 插件与我在 Genymotion 模拟器中安装的 ARM 转换器有问题.而 libhoudini.so 是一个专有的 ARM 模拟器翻译层.这就是为什么我通过 Android Studio 安装 apk 在模拟器上失败的原因.因此,没有 GApp 的模拟器也能工作.
After some research, I found out that gradle 2.3.0 plugin has issue with ARM translator which I installed in my Genymotion emulator. And libhoudini.so is a proprietary ARM translation layer of emulator. That's why my installation of apk through Android Studio was failed with emulator. So, emulators without GApps will work.
这篇关于上传依赖项.apk 时出错:警告:链接器:libhoudini.so 有文本重定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!