在32bit Ubuntu上遇到的问题,不知道在其他系统上会不会遇到
启动模拟器报错如下:
[2014-11-10 09:38:05 - Emulator] ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them
[2014-11-10 09:38:05 - Emulator] you will have to do at least one of the following:
[2014-11-10 09:38:05 - Emulator]
[2014-11-10 09:38:05 - Emulator] - Use the '-force-32bit' option when invoking 'emulator'.
[2014-11-10 09:38:05 - Emulator] - Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment.
[2014-11-10 09:38:05 - Emulator]
[2014-11-10 09:38:05 - Emulator] Either one will allow you to use the 32-bit binaries, but please be
[2014-11-10 09:38:05 - Emulator] aware that these will disappear in a future Android SDK release.
[2014-11-10 09:38:05 - Emulator] Consider moving to a 64-bit Linux system before that happens.
错误中已经给出了解决方案
在~/.bashrc中添加
ANDROID_EMULATOR_FORCE_32BIT=true
source ~/.bashrc
在SDK/tools中启动
./emulator -force-32bit -avd <avd-name>
这样就成功启动了