Eclipse运行工程报AVD没有找到错误解决过程
来源:互联网 发布:卫视 知乎 编辑:程序博客网 时间:2024/05/21 06:46
[2009-07-18 06:55:12 - TestProject] Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.
在CMD下
键入:C:/Android1.5_R3/tools>emulator.exe
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
If you *really* want to *NOT* run an AVD, consider using '-data <file>'
to specify a data partition image file (I hope you know what you're doing).
按照提示键入:C:/Android1.5_R3/tools>emulator.exe -help-avd
use '-avd <name>' to start the emulator program with a given Android
Virtual Device (a.k.a. AVD), where <name> must correspond to the name
of one of the existing AVDs available on your host machine.
See -help-virtual-device to learn how to create/list/manage AVDs.
As a special convenience, using [email=]'@<name>'[/email] is equivalent to using
'-avd <name>'.
按照提示键入:C:/Android1.5_R3/tools>emulator.exe -help-virtual-device
An Android Virtual Device (AVD) models a single virtual
device running the Android platform that has, at least, its own
kernel, system image and data partition.
Only one emulator process can run a given AVD at a time, but
you can create several AVDs and run them concurrently.
You can invoke a given AVD at startup using either '-avd <name>'
or [email=]'@<name>'[/email], both forms being equivalent. For example, to launch
the AVD named 'foo', type:
emulator @foo
The 'android' helper tool can be used to manage virtual devices.
For example:
android create avd -n <name> -t 1 # creates a new virtual device.
android list avd # list all virtual devices available.
Try 'android --help' for more commands.
Each AVD really corresponds to a content directory which stores
persistent and writable disk images as well as configuration files.
Each AVD must be created against an existing SDK platform or add-on.
For more information on this topic, see -help-sdk-images.
SPECIAL NOTE: in the case where you are *not* using the emulator
with the Android SDK, but with the Android build system, you will
need to define the ANDROID_PRODUCT_OUT variable in your environment.
See -help-build-images for the details.
里面有两行关键命令。
键入:C:/Android1.5_R3/tools>android list avd
Available Android Virtual Devices:
果然没有一个AVD
键入:C:/Android1.5_R3/tools>android create avd -n foo -t 1 开始产生AVD
.......
一顿选项输入后
Created AVD 'foo' based on Android 1.1
??? 产生的AVD是1.1平台上的?? 那如何产生1.5平台上的呢??
再次键入 C:/Android1.5_R3/tools>emulator.exe
报错,提示没有AVD名字
再次键入:C:/Android1.5_R3/tools>emulator.exe -avd foo
久违的画面出现了。 :)
再次在Eclipse里运行工程,还是报错:
[2009-07-18 07:26:37 - TestProject] Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.
在Android 1.5上的AVD 还是没有。所以起不来..
难道在生成AVD的第一个选项:
C:/Android1.5_R3/tools>android create avd -n foo -t 1
Android 1.1 is a basic Android platform.
Do you wish to create a custom hardware profile [no]yes
我选择了1.1平台上的??
键入C:/Android1.5_R3/tools>android create avd -h 查看帮助
......
一顿乱试,键入C:/Android1.5_R3/tools>android create avd -n foo2 -t 2
Android 1.5 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD 'foo2' based on Android 1.5
哈哈,终于产生了1.5平台上的AVD
再次在Eclipse里运行工程,终于可以了. 嘎嘎.
- Eclipse运行工程报AVD没有找到错误解决过程
- eclipse中adb没有运行的错误解决
- [总结]Genymotion运行AVD报显卡不支持OpenGL错误
- 解决Android AVD 没有键盘
- 解决win7没有找到suite objects.dll 因此rational rose不能能启动 运行Rose 提示错误
- eclipse创建maven工程报错解决
- 解决 eclipse 工程中 js 报错
- eclipse运行javaEE工程详细配置过程
- 运行eclipse,导入工程,打开以前项目,AVD总是断开连接解决办法
- 解决:eclipse导入android时工程下没有R文件的问题,以及style.xml文件报错
- 解决 Eclipse 运行 app 报错: INSTALL_FAILED_NO_MATCHING_ABIS
- 解决运行Tomcat,报accept2的错误
- 解决"运行脚本报证书错误"
- 解决eclipse工程运行正常但是工程有红叉的问题
- 解决eclipse 工程前出现红色感叹号 但没有提示错误出在什么地方build path jar包也没报错
- eclipse下window里没有AVD
- Android解决没有AVD的方法
- Eclipse ADT 运行 cocos2dx 程序 .解决 avd 上黑屏的问题
- SQL SERVER 2005 流览多维数据集时出现没有注册类别(异常来自:HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))的错误
- 一.信息系统基础知识
- 连载二:php 3des加密
- freebsd 配置ssh
- pku 2486 Apple Tree(树形DP,双重DP)
- Eclipse运行工程报AVD没有找到错误解决过程
- 生病记录2009-9-15
- Range.Find.Execute 占位程序接收到错误数据。
- DataFormatString的使用
- Mac OS X:守护(daemons)和代理(agents)程序官方文档
- (五)上市远景
- Android project 的常用编译方法
- NHibernate学习
- 大一生活