程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> 32為 inux安卓 報錯-32為Linux安卓AVD啟動報錯

32為 inux安卓 報錯-32為Linux安卓AVD啟動報錯

編輯:編程綜合問答
32為Linux安卓AVD啟動報錯

Andoid的朋友,在嗎?請教個問題。
我啟動Adnroid的AVD時報錯如下:

Starting emulator for AVD 'qq'
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.

我的系統是:
ubuntu 10.4,
jdk 1.7
adt-bundle-windows-x86-20140702.zip,
eclipse就是adt壓縮文件中的打包文件。

網上找了僅有的幾個解決辦法,都不好使。
是不是也是跟你類似的問題呢?
若有解答請回復:[email protected]
謝謝。

最佳回答:


當使用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.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved