Appcompat-v7 error occurred in Android app development

Source: Internet
Author: User

Blog Melon Maidong = original record

Often many friends in the Android app development process, encountered the creation of a good Android project, the appcompat-v7 error occurred, because Android starting from 5.0, the introduction of this project library, the solution has two points

1, keep appcompat-v7, perfect Android5.0

Download the following content in SDK Manager

2, do not want to download Android 5.0, you need to change the Android app minimum SDK version requirements, set the minimum Required SDK to 4.1 or more immediately

Open Androidmanifest.xml, which has the following two items:

 

Change the minimum to 21.

Instead of relying on APPCOMPAT-V7 for Android projects, you can delete them directly

Here do not rest assured that the students can be created to delete the project, re-create an Android project, remember that in the selection version, the minimunrequied version of the choice of 4.x immediately, create a good project, will not appear appcompat-v7 this project library

Appcompat-v7 error occurred in Android app development

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.