Android No active compatible AVD's or devices found Exception
2014-05-19 17:53
381 查看
Exception:No active compatible AVD's or devices found. Relaunch this configuration after connecting a device or starting an AVD.
如题所述:遇到此问题估计大多数初学者都会头大,但是仔细看错误提示说的是——没有活动的AVD或者设备,此时你就应该从以下几个方面着手检查了。1、应用程序项目使用的SDK版本是否与AVD的保持一致,且AVD已经创建
如果你的项目是4.4.2的,那么你创建的模拟器也应该是4.4.2的。2、AVD已创建,启动仍然报此异常,此时可能是AndroidManifest.xml文件下的SDK限定有问题
3、若以上修改之后还是不行,则需要指定程序运行的环境(指定是在模拟器,还是真机上运行)
"$project">鼠标右键>Run As>Run Configurations.....之后你可以看到如下界面,选定自己是要在模拟器(AVD)上运行还是在设备(Device)上运行。注:若你经以上步骤仍不能处理,可能是你的环境有问题或者插件存在缺陷。
相关文章推荐
- Android No active compatible AVD's or devices found Exception
- eclipse android 开发问题:No active compatible AVD's or devices found
- No active compatible AVD's or devices found. Relaunch this configuration after connecting a device o
- java.io.FileNotFoundException: /data/data/com.huacai.test/files/android.txt (No such file or directo
- java.io.FileNotFoundException on Android, open failed: ENOENT (No such file or directory)
- Android java.io.FileNotFoundException on Android, open failed: ENOENT (No such file or directory)
- No compatible targets were found Do you wish to a add new Android Virtual Device?
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent 的错误
- [Android一千零一个] android.content.ActivityNotFoundException: No Activity found to handle Intent
- SD卡读写之FileNotFoundException: /storage/emulated/0object.txt: open failed: ENOENT (No such file or dir
- Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or pat
- android.content.ActivityNotFoundException: No Activity found to handle Inten
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.a
- android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedV
- No JDK found. Please validate either ANDROID_STUDIO_JDK, JDK_HOME or JAVA_...
- 运行Android程序时,出现提示:No compatible targets were found .do you wish to add new android virtual device!
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.lby.action }