When running the android program, the following message is displayed: No compatible targets were found. Do you wish to add new Android virtual device!

Source: Internet
Author: User

When running an android applet, the following message is displayed:
No compatible targets were found do you wish to a add new Android virtual device?

No compatible targets (programs) are found. Do you want to add an AVD?


The main cause of this problem is that the project version is different from the created simulator (AVD) version. Sometimes we delete the simulator we created earlier. When you build the simulator again, when running the program, you may be prompted with no compatible targets were found. Do you wish to a add new Android virtual device. if the version you created is the same as that used in the previous project, this will not happen.

To sum up the SDK version and project version, if you build a high version of the project, you cannot deploy the AVD created in the following versions. Therefore, you can use version 1.6 as the AVD created by development and building project 1.6 or later. Another method is to create several different versions of AVD, in this way, projects of different versions can run on different avds without this error.

Therefore, the versions of the previous project must be consistent with those of the new AVD. Otherwise, they will not work.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.