eclipse下 Failed to find an AVD compatible with target 的解决方法
2014-03-06 00:14
429 查看
第一个Android测试环境下的程序出现这个问题:
[2012-04-24 13:18:29 - xxxx] ------------------------------
[2012-04-24 13:18:29 - xxxx] Android Launch!
[2012-04-24 13:18:29 - xxxx] adb is running normally.
[2012-04-24 13:18:29 - xxxx] Performing first.a.fistMM activity launch
[2012-04-24 13:18:29 - xxxx] Failed to find an AVD compatible with target 'Android XXXX.
[2012-04-24 13:18:36 - xxxx] Performing first.a.fistMM activity launch
原因:是没有创建Android Virtual Device,
解决方法:运行Android SDK安装目录下tools文件的中android .bat工具
指令是:android create avd --name [name] --target 2
(其中“[b][name] ”[/b]自己指定一个别的名字也可以),
这样就创建了一个自己定义的avd(Android Virtual Device),然后在之后就只要在Eclipse的Run Configurations里面指定一个AVD即在Target下选中我们自己定义的这个AVD即[name]就可以运行了.
[2012-04-24 13:18:29 - xxxx] ------------------------------
[2012-04-24 13:18:29 - xxxx] Android Launch!
[2012-04-24 13:18:29 - xxxx] adb is running normally.
[2012-04-24 13:18:29 - xxxx] Performing first.a.fistMM activity launch
[2012-04-24 13:18:29 - xxxx] Failed to find an AVD compatible with target 'Android XXXX.
[2012-04-24 13:18:36 - xxxx] Performing first.a.fistMM activity launch
原因:是没有创建Android Virtual Device,
解决方法:运行Android SDK安装目录下tools文件的中android .bat工具
指令是:android create avd --name [name] --target 2
(其中“[b][name] ”[/b]自己指定一个别的名字也可以),
这样就创建了一个自己定义的avd(Android Virtual Device),然后在之后就只要在Eclipse的Run Configurations里面指定一个AVD即在Target下选中我们自己定义的这个AVD即[name]就可以运行了.
相关文章推荐
- eclipse下 Failed to find an AVD compatible with target 的解决方法
- Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.的解决办法(转载)
- eclipse配置Android或OPhone提示Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.
- Failed to find an AVD compatible with target 'Android 4.2.2'
- Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.
- Failed to find an AVD compatible with target
- AS报错:failed to find target with hash string 'Google Inc.:Google APIs:21'的报错解决方法
- android 1.5 SDK 模拟器无法启动问题 “Failed to find an AVD mpatible with target”错误
- Error:Failed to find target with hash string 'android-15' 解决办法
- 解决android studio项目中Failded to sync Gradle project 'XXXX' Cause:failed to find target with hash strin
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法
- Android failed to find target with hash string 'android-23'
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- [Android][Build Problems] failed to find build tools revision & failed to find target android 等问题解决
- Eclipse 弹出 Failed to load the JNI shared library jvm.dll 错误的解决方法!
- ios clang: error: linker command failed with exit code 1 (use -v to see invocation)解决方法
- 关于AndroidStudio中报Error:Failed to find target with hash string 'Google Inc.:Google APIs:23' 的错误