I'm trying to run a virtual device. I get the following:

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the '-force-32bit' option when invoking 'emulator'. - Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment. Either one will allow you to use the 32-bit binaries, but please be aware that these will disappear in a future Android SDK release. Consider moving to a 64-bit Linux system before that happens. 

Tell ANDROID_EMULATOR_FORCE_32BIT where and how to use this ANDROID_EMULATOR_FORCE_32BIT ?

Thank!

3 answers 3

You get this error because you are running the Android emulator on the 32-bit version of Linux, while the emulator shows the best performance in the 64-bit version of Linux.
The use of 32-bit mode is considered obsolete and in the future (most likely), support for this will be removed and only run on 64-bit Linux will be allowed.

To enable the launch in a 32-bit environment, you must run the emulator with the -force-32bit key, or set the ANDROID_EMULATOR_FORCE_32BIT environment ANDROID_EMULATOR_FORCE_32BIT .
To create an environment variable in your home folder, add the line

 export ANDROID_EMULATOR_FORCE_32BIT=true 

at the end of the .profile file, for example by running

 gedit ~/.profile 

Save the file and reboot the machine for the changes to take effect.

    B Eclipse Menu -> Run -> Run configurations

    select the Target tab

    at the very bottom, in the 'Additional emulator command options' field, insert the value

    -force-32bit

    Fse