Android 64-bit 64-bit: 32-bit binaries for Android Android emulators DEPRECATED

I recently upgraded my 64-bit ubuntu 13.10 to 14.04 64-bit. Android Studio always worked well on 13.10.

In 14.04, I had a problem with gradle ( this ), which was a problem with the lack of libz.so.1. Following this link , I had to install a 32-bit version of this package, and this fixed my problem.

Now (I thought it was connected), when I try to start the device emulator, I have this message:

ERROR: 32-bit binaries for Android emulator for Linux, DEPRECATED, to use them you will need to perform at least one of the following: - Use the "-force-32bit" parameter when calling the "emulator". - Set ANDROID_EMULATOR_FORCE_32BIT to "true" in your environment. Any of them will allow you to use 32-bit binaries, but please, that they will disappear in a future release of the Android SDK. Consider upgrading to a 64-bit Linux system before this happens.

But my system is 64-bit (and by the way, the -force-32bit trick doesn't work).

Strange, I removed the 32-bit package that I installed and nothing changed (the problem with gradle did not display again, and the problem with the emulator is still here).

What should I do?

thanks

+4
source share
4 answers

Yesterday I had the same problem after updating my Ubuntu. Today it is fixed in a new update. Just upgrade your Ubuntu and run the emulator after the update. It should work.

Current kernel version after update: 3.13.0-61-generic

+1
source

I also use Ubuntu 14.04 and, apparently, there is an error with the new kernel version ( 3.13.0-59-generic ), since yesterday I worked with emulators and I had no problems until today, when there was a kernel update.

I rebooted Ubuntu, this time selecting the previous kernel version ( 3.13.0-58-generic ), and it works again.

Hope this helps.

PS: you can download previous kernel versions from grub, in advanced options for Ubuntu.

+3
source

I have 64-bit Ubuntu with the kernel 4.8.0-37, and I could not solve this problem until I explicitly ran the emulator64-x86 executable, and not just the emulator , which was run by Android Studio by default.

+2
source

Kernel 3.13.0-59 caused the same problem for me after a recent update. I deleted it by doing:

 sudo apt-get purge linux-image-3.13.0-59-generic 

When rebooting, grub automatically uses the previous kernel version. Note that this also removes the linux-image-generic package, preventing future automatic kernel updates.

0
source

All Articles