linux eclipse中运行android AVD 错误
当使用android的AVD时提示以下错误:
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.
提示我们有两种方法可以解决:
1)、修改~/.bashrc,添加一句:export ANDROID_EMULATOR_FORCE_32BIT=true;重启;
2)、
-
In Eclipse, click your Android project folder and then select Run > Run Configurations...
-
In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration.
-
Click the Target tab.
In the Additional Emulator Command Line Options field, enter:
-force-32bit
Run your Android project using this run configuration.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。