eclipse下 Failed to find an AVD compatible with target 的解决方法
2014-03-06 00:14
337 查看
第一个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”错误的解决方法!
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-gcc-4.2' failed with exit status 1解决方法
- 启动Eclipse 弹出Failed to load the JNI shared library 的解决方法
- eclipse下运行android项目报错:Conversion to Dalvik format failed with error 1解决办法
- eclipse不能debug的解决方法,提示Failed to execute MI command: maintenance set python print-stack off
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 两种方法解决tomcat的 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
- android开发eclipse启动failed to create the java virtual machine 解决方法
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 1.failed to find target with hash string 'android - 20' 2. Gradle DSL method not found: 'android()'