码迷,mamicode.com
首页 > 移动开发 > 详细

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

时间:2015-02-25 15:38:06      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:

如果你的linux机子是32位的,那么运行android模拟器的时候会报错,如下:

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.


Android模拟器在64位系统上运行最好,所以最好的解决办法是重新安装64位的linux系统,如果暂时重装系统比较麻烦的话,有以下两种方法来解决:

1. 在你要运行的个工程右击->Run as -> Run configuration->Android application-> emulator , 滚动条拉到最后,找到commandline输入框,输入"-force-32bit",然后apply即可。

2. 配置环境变量,加上ANDROID_EMULATOR_FORCE_32BIT=true


原文请见 http://askubuntu.com/questions/534044/error-32-bit-linux-android-emulator-binaries-are-deprecated-when-attemping-to-r

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

标签:

原文地址:http://blog.csdn.net/casilin/article/details/43937729

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!