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

linux eclipse中运行android AVD 错误

时间:2014-12-10 09:12:07      阅读:474      评论:0      收藏:0      [点我收藏+]

标签:android   io   ar   使用   for   on   art   log   ad   

当使用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)、

  1. In Eclipse, click your Android project folder and then select Run > Run Configurations...

  2. In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration.

  3. Click the Target tab.

In the Additional Emulator Command Line Options field, enter:

-force-32bit 

Run your Android project using this run configuration.

linux eclipse中运行android AVD 错误

标签:android   io   ar   使用   for   on   art   log   ad   

原文地址:http://www.cnblogs.com/plxx/p/4154588.html

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