linux eclipse中运行android AVD 错误

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

时间: 2024-08-05 07:07:13

linux eclipse中运行android AVD 错误的相关文章

JBPM在Eclipse中运行时页面错误ProcessEngine cannot be resolved to a type

JBPM在Eclipse中运行时页面错误ProcessEngine cannot be resolved to a type 从网上找了一些杂七杂八的回答,比如在Java EE Module Dependencies设置中添加依赖的jar 但是这个设置是以前旧版本的Eclipse所有的.新版的已经没有这个设置. 归根结底是因为我自己创建了一个UserLibrary.引入了jbpm依赖的所有jar 结果无法发布到tomcat中. 干脆把这个引用删掉,直接复制所有jar到项目的lib文件夹下. 一切

【求解答】在eclipse中运行Android项目出现的问题 ——Launching MyFirstAPP' has encountered a program. Errors occurred during the build.

在运行Android项目的时候,右击项目名称,点击“Run as——Android application”后出现'Launching MyFirstAPP' has encountered a program. Errors occurred during the build. 求解决办法... [求解答]在eclipse中运行Android项目出现的问题 --Launching MyFirstAPP' has encountered a program. Errors occurred du

eclipse中运行tomcat出现错误:-Djava.endorsed.dirs=/users/huchao/library/tomcat-9/endorsed is not supported

-Djava.endorsed.dirs=/users/huchao/library/tomcat-9/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. 解决办法: 刚刚试验出来,在Eclipse的Run -> Run Configurations的界面里 有一个设置参

Android 在eclipse中没有出现AVD的解决方法(转载)

转自:http://frabbit2013.blog.51cto.com/1067958/1243549 本文主要介绍在系统中成功配置好Android开发环境(即SDK is ok and ADT on eclipse is ok)后,eclipse中未出现AVD情况的解决方法.如下图所示,在Windows选项下未出现Android Virtual Device Manager: 此时,需要对eclipse做些许配置方可显示AVD.如下图所示:点击Windows—>Customize Persp

Win系统下用Eclipse中运行远程hadoop MapReduce程序常见错误及解决方法

一.Permission denied 1.Win系统下用Eclipse中运行远程hadoop MapReduce程序出现报错 org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=xxx, access=WRITE, inode="xxx":xxx:supergroup:rwxr-xr-x

Eclipse中通过Android模拟器调用OpenGL ES2.0函数操作步骤

原文地址: Eclipse中通过Android模拟器调用OpenGL ES2.0函数操作步骤 - 网络资源是无限的 - 博客频道 - CSDN.NET http://blog.csdn.net/fengbingchun/article/details/11192189   1.  先按照http://blog.csdn.net/fengbingchun/article/details/10439281中操作搭建好基本的Android开发环境: 2.  打开Eclipse,-->Window-->

Eclipse中添加Android系统jar包

这样做的好处是,可以使用Eclipse开发系统应用了,这样可以调用系统中才使用的API. 1.首先在项目中右击->属性.如图所示依次操作 2.添加User Library 3.第一次要新建User Library名字 注:一定要勾选上System library(addedto the boot class path)否则会出现错误1. 4.添加jar包 2.${ANDROID_SOURCE}/out/target/common/obj/JAVA_LIBRARIES/framework_inte

转载:monkeyrunner之eclipse中运行monkeyrunner脚本之环境搭建(四)

转载自:lynnLi 的monkeyrunner之eclipse中运行monkeyrunner脚本之环境搭建(四) monkeyrunner脚本使用Python语法编写,但它实际上是通过Jython来解释执行. Jython是Python的Java实现,它将Python代码解释成Java虚拟机上的字节码并执行,这种做法允许在Python中继承一个Java类型,可以调用任意的 Java API . 本文档主要是可以实现在eclipse环境中运行Monkeyrunner脚本.所需要的环境和工具如下:

解决:在Eclipse中运行monkeyrunner脚本报错: IOError: (2, 'File not found - D:\\workspace\\monkeyrunner_test01 (\u62d2\u7edd\u8bbf\u95ee\u3002)')

在eclipse中搭建运行monkeyrunner脚本的环境,请见lynnLi的博客monkeyrunner之eclipse中运行monkeyrunner脚本之环境搭建(四) 但在实践中,状况确实层出不穷,首先我搭建好环境后,运行了一个简单的脚本,没想到抛出了错误. IOError: (2, 'File not found - D:\\workspace\\monkeyrunner_test01,说明没有在我们配置的路径下找到相应的脚本. 我们点击Run-External Tools-Exter