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.
Error while uploading dependencies.apk : WARNING: linker: libhoudini.so has text relocations. This is wasting memory and prevents security hardening. Please fix
How Can I solve the problem?
After trying to options given in this post and failure to get app installed. This problem is caused after updating Android Studio to Version 2.3 and Gradle to 3.3 (I have actually latest 3.4.1 so problem is not with Gradle version). I tried to disable "Instant Run" Feature of android studio and installation works like charm.
So go to
File>Settings>Build, Execution, Deployment> Instant Run
And then disable it. After that you will get working installation in GenyMotion as well.
Cheers!!!
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.
After struggling with this issue for almost 27 hours. I found out that after updating my android studio and gradle it prompts you to enabling instant run on your projects. Therefore don't enabling instant run when prompted by android studio. As this results in the issue. There known bug instant Run bug on genymotion. Refer to Issue 233845: Instant Run could work on genymotion for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With