Android No active compatible AVD's or devices found Exception
2015-05-11 22:15
441 查看
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
- Android java.io.FileNotFoundException on Android, open failed: ENOENT (No such file or directory)
- java.io.FileNotFoundException on Android, open failed: ENOENT (No such file or directory)
- java.io.FileNotFoundException: /data/data/com.huacai.test/files/android.txt (No such file or directo
- No JDK found. Please validate either ANDROID_STUDIO_JDK, JDK_HOME or JAVA_...
- No compatible targets were found Do you wish to a add new Android Virtual Device?
- [Android一千零一个] android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path)
- Android5.0以上版本ActiveAndroid报ClassNotFoundException错误
- 运行android程序的时候出现了No compatible targets were found.Do you wish to...
- cloudera-scm-server启动时出现Caused by: java.io.FileNotFoundException: /var/lib/cloudera-scm-server/.keystore (No such file or directory)问题解决方法(图文详解)
- android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.a
- Device could not be initialized or no devices found
- No compatible targets were found Do you wish to a add new Android Virtual Device ?
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- Caused by: java.io.FileNotFoundException: velocity.log (No such file or directory)
- android.content.ActivityNotFoundException: No Activity found to handle Intent