No compatible targets were found Do you wish to a add new Android Virtual Device ?
2017-11-20 08:45
549 查看
运行一个Android小程序时提示:
No compatible targets were found Do you wish to a add new Android Virtual Device ?
未发现有可兼容的目标(程序),你是不是希望添加一个AVD?
如图:
这个问题最主要的原因还是项目版本与创建的模拟器(AVD)版本不一样造成的, 有时候我们把之前建那的模拟器删除了,那你再次建好模拟器的时候,运行程序时有可能会提示No compatible targets were found, Do you wish to a add new Android Virtual Device 如果你建的和之前项目用的版本一样的话,就不会有这个错。
总结一下SDK版本和项目版本的问题,如果你建的项目是高版本的话,你是部署不到以下版本建立的AVD上的,所以,可以用1.6版本作为开发建项目 1.6以上建的AVD都有效果, 另一种方法就是多创建几个不同版本的AVD,这样不同版本的项目就可以在不同的AVD上运行而不会出现此错误了。
所以,之前的项目是什么版本,新建的AVD必须一致 不然是没有效果的。
No compatible targets were found Do you wish to a add new Android Virtual Device ?
未发现有可兼容的目标(程序),你是不是希望添加一个AVD?
如图:
这个问题最主要的原因还是项目版本与创建的模拟器(AVD)版本不一样造成的, 有时候我们把之前建那的模拟器删除了,那你再次建好模拟器的时候,运行程序时有可能会提示No compatible targets were found, Do you wish to a add new Android Virtual Device 如果你建的和之前项目用的版本一样的话,就不会有这个错。
总结一下SDK版本和项目版本的问题,如果你建的项目是高版本的话,你是部署不到以下版本建立的AVD上的,所以,可以用1.6版本作为开发建项目 1.6以上建的AVD都有效果, 另一种方法就是多创建几个不同版本的AVD,这样不同版本的项目就可以在不同的AVD上运行而不会出现此错误了。
所以,之前的项目是什么版本,新建的AVD必须一致 不然是没有效果的。
相关文章推荐
- No compatible targets were found. Do you wish to add new Android Virtual Device
- No compatible targets were found Do you wish to a add new Android Virtual Device?
- No compatible targets were found,Do you wish to add a new Android Virtual Device?问题解决方法。
- 运行Android程序时,出现提示:No compatible targets were found .do you wish to add new android virtual device!
- 运行Android程序时,出现提示:No compatible targets were found .do you wish to add new android virtual device!
- 运行android程序的时候出现了No compatible targets were found.Do you wish to...
- 运行android程序的时分出现了No compatible targets were found.Do you wish to.
- eclipse安装PyDev插件出错No software site found at jar:file:[离线包路径]!/. Do you wish to edit the location?
- [已解决]在VMware-server for linux 下装centos错误:an error has occurred. - no valid devices were found on which to create new file system
- create new Android Virtual Device: no system images installed for this target
- Genymotion启动Android5.1.0 unable to start the virtual device the virtual device got no IP address
- 虚拟机安装centos no valid devices were found on which to cereate new file systems 错误处理
- No compatible targets were found
- No compatible targets were found....
- An errpr has occurred - no valid devices were found on which to create new file systems.
- 发布android apk,Error running app: No target device found.
- No Activity found to handle Intent { act=android.intent.action.VIEW
- 解决错误ERROR: No suitable Java found. In order to properly use the Android Developer Tools,…
- android学习历程——“Unable to open log device '/dev/log/main': No such file or directory”错误解决方法
- How to add a new MimeType to a Virtual Directory with VC++?