APPCOMPAT_V7 Error in Android6.0

Source: Internet
Author: User

Updated ANDROIDSDK after a variety of errors, a new project will be attached to a appcompat_v7, you just know that this is a compatibility package can be, the specific features can see the relevant introduction, in fact, nothing special is to be compatible with the lower version of the chant,

However, this leads to a variety of errors, and the following are the errors that occur:

After several hours of adjusting supervised, a variety of articles that need to restart Eclipse, in fact, it doesn't matter, important or configuration, the following is the solution:

The first step: select Appcompat_v7-->properties-->android--> to select the highest API version and make sure that the is library in the library is selected, which means to ensure that the project is a class library project Cannot be started.

Step two: After determining the first step, choose Project-->clean, and you can see that the APPCOMPAT_V7 error has disappeared;

The third step: The second step of apply after your project is still an error, will show you referenced in the class library style error, this is because the API version of your new project is too low to recognize the class library related properties, modify the properties of your current project file

I changed from 15 to 23:

Fourth step: Although setting the project properties target setting is API23 version, the USE-SDK in the manifest file is still the lowest SDK version number you expect, and the target version number does not affect the run because I tested it, Want to create a Android6.0 simulator there is no matching CPU, my host is Interl core 7 can not do it.

After the last step, clean it, the problem is guaranteed to be resolved. Because I just learned a few days, I hope that we have a lot of advice, but also hope that their own detours, can create a new continent for others

APPCOMPAT_V7 Error in Android6.0

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.