ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

非 Y 不嫁゛ 提交于 2019-12-03 12:02:16

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

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.

I did the following

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

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)

For Android Studio:

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

Enable the checkbox next to Additional command line options:

Enter -force-32bit

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

xola139

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

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!