ERROR: 32-bit Linux Android emulator binaries are

2019-03-26 05:18发布

问题:

I installed the latest version of the ADT Bundle 32 bit on my ubuntu 14.04 32 bit. I created an AVD, but it doesn't launch. When I press the start button it shows this message:

Starting emulator for AVD 'NexusOne' 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.

I tried to fix it by setting export ANDROID_EMULATOR_FORCE_32BIT=true to gedit .profile file and to gedit .bashrc file. Nothing changed.

Thank you for trying to help me!

回答1:

i have one great solution. you can start it with eclipse or netbeans. try :

  1. In Eclipse, click your Android project folder and then select Run > Run Configurations...

  2. In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration.

  3. Click the Target tab.

In the Additional Emulator Command Line Options field, enter:

-force-32bit

Run your Android project using this run configuration.

in netbeans you : 1. wher you choose debuger chose Customize...

  1. in Emulator options write -force-32bit
  2. click ok. and run application


回答2:

I solve this problem with the following:

export ANDROID_EMULATOR_FORCE_32BIT=true

Then I start the emulator from the command line. It works!

Hope it's helpful to you.



回答3:

I did the following

go to the run configuration >target tab> scroll down to the last> Additional emulator command line options>-force-32bit



回答4:

solution to this problem is given here

  1. Open terminal in ubuntu, and then type gedit .profile
  2. paste this text: export ANDROID_EMULATOR_FORCE_32BIT=true
  3. refresh source i.e. in terminal type source .profile

When no effect, finishing that by restart your device (laptop,pc)



回答5:

For Android Studio:

Run > Edit Configurations > Android > Android Application > app > Emulator tab

Enable the checkbox next to Additional command line options:

Enter -force-32bit



回答6:

go to the run configuration >target tab> scroll down to the last> Additional emulator command line options>-force-32bit



回答7:

I had same problem and now I solved,I have Ubuntu 15.10 And my solution was:

  1. Open terminal
  2. Locate path directory Android-studio at terminal
  3. I wrote export ANDROID_EMULATOR_FORCE_32BIT=true, keyboard key enter
  4. And execute the ./studio.sh locate in folder bin of Android-studio


回答8:

ON LINUX MINT

  1. Go to terminal
  2. type gedit .profile
  3. paste the below line at end of the page
  4. export ANDROID_EMULATOR_FORCE_32BIT=true
  5. type source .profile in terminal or restart system

ON UBUNTU

  1. Go to terminal
  2. type gedit .bashrc
  3. paste the below line at end of that file
  4. export ANDROID_EMULATOR_FORCE_32BIT=true
  5. type source ~/.bashrc in terminal or restart system


回答9:

create a shell script :

#!/bin/bash
#
#   set export ANDROID_EMULATOR_FORCE_32BIT=true

export ANDROID_EMULATOR_FORCE_32BIT=true
/opt/adt-bundle-linux-x86-20140702/eclipse/eclipse

change the shell script executable and run it to active eclipse
"/opt/adt-bundle-linux-x86-20140702/eclipse/eclipse" is the path of eclipse