错误:不建议使用32位Linux Android仿真器二进制文件 [英] ERROR: 32-bit Linux Android emulator binaries are DEPRECATED
问题描述
我在ubuntu 14.04 32位上安装了最新版本的ADT Bundle 32位。我创建了一个AVD,但没有启动。当我按下开始按钮时,它显示以下消息:
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:
为AVD'NexusOne'启动仿真器
错误:不建议使用32位Linux Android仿真器二进制文件使用它们
,您必须至少执行以下操作之一:
-调用模拟器时使用 -force-32bit选项。
-在您的环境中将ANDROID_EMULATOR_FORCE_32BIT设置为 true。
任何一种都将允许您使用32位二进制文件,但是请
注意,这些二进制文件将在以后的Android SDK版本中消失。
考虑在此之前迁移到64位Linux系统。
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.
我试图通过将export ANDROID_EMULATOR_FORCE_32BIT = true设置为gedit .profile文件和gedit .bashrc文件。没什么改变。
I tried to fix it by setting export ANDROID_EMULATOR_FORCE_32BIT=true to gedit .profile file and to gedit .bashrc file. Nothing changed.
谢谢您的帮助!
推荐答案
我有一个很好的解决方案。
可以从eclipse或netbeans开始。
try:
i have one great solution. you can start it with eclipse or netbeans. try :
-
在Eclipse中,单击您的Android项目文件夹,然后选择运行>运行配置 ...
In Eclipse, click your Android project folder and then select Run > Run Configurations...
在运行配置对话框的左侧面板中,选择您的Android项目运行配置或创建新配置。
In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration.
单击目标选项卡。
在其他仿真器命令行选项字段中,输入:
In the Additional Emulator Command Line Options field, enter:
-force-32bit
使用此运行配置运行Android项目。
Run your Android project using this run configuration.
在netbeans中,您:
1.选择调试器后,选择了Customize ...
in netbeans you : 1. wher you choose debuger chose Customize...
- 在仿真器选项中写入
-force-32bit
- 单击确定。并运行应用程序
这篇关于错误:不建议使用32位Linux Android仿真器二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!