About new ADT Every time you create a project, there is a appcompat_v7 problem

Source: Internet
Author: User

Android developers have recently discovered that after updating ADT to 22.6.0, a new installation project will appear, and the project will be appcompat_v7. What the hell is going on here? The original appcompat_v7 is Google's own one of the compatibility package, is a support library, can make more than 2.1 full use of the 4.0 version of the interface.

Here are a few simple solutions!

1. Delete the APPCOMPAT_V7 package

After deleting the APPCOMPAT_V7 package, the project various error, stating that the project is dependent on the APPCOMPAT_V7 package, so this APPCOMPAT_V7 package can not be deleted. If you must delete the APPCOMPAT_V7 package, you can select the Minimum SDK above Android4.0 when you create the project and you do not need this support library.

2. When creating a project, choose not to create activity to

3. Need backward compatibility, and do not want to have n appcompat_v7 package

You can leave a APPCOMPAT_V7 package in the project directory, the next time you create a project, delete the new APPCOMPAT_V7 package, right click on the new project, select Properties, click "Android", remove the original library path, Re-add the appcompat_v7 you already exist. This way, the project can only have one APPCOMPAT_V7 package at a time.

About new ADT Every time you create a project, there is a appcompat_v7 problem

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.