我的jdk,sdk,adt统统都配置号了,system image也下载下来了,创建了avd死活无法启动模拟器,我非常奇怪,网上各种搜一说启动就是很慢,我启动avd后给的错误提示是我的linux系统是32位的跟avd不匹配具体错误提示如下:
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.
貌似错误提示的意思是,你的系统是一个64位的,但是你要运行一个32位在你的64位操作系统上,所以发生错误,你要做如下操作:
1. 配置环境变量,加上ANDROID_EMULATOR_FORCE_32BIT=true
ps:环境变量在.bashrc,.profilel 里面修改,都是在路径root下。
2.打开终端到模拟器所在的路劲用命令行启动avd,具体命令如下:
./emulator -force-32bit -avd my_avd_name
只有第一次启动需要这么做,
再下次启动的时候就直接在eclipse下打开就可以了