APPCOMPAT_V7 Engineering Error and red exclamation mark when "Go" Android New project

Source: Internet
Author: User
Tags android sdk manager

Original URL: http://www.cnblogs.com/xiaozhang2014/p/4109856.html

Recently beginner Android, version is 22.6.0 words, each time create a project will appear a APPCOMPAT_V7 project; then I upgrade to the latest version 23.0.4, after the creation of the first project, there will also be a APPCOMPAT_V7 project, But to create multiple projects, the APPCOMPAT_V7 project has only one, but there are errors;

On the Internet to check, the original APPCOMPAT_V7 is a compatible package of Google, is a support library, the project will generate a new APPCOMAT_V7 project, To be compatible with more than 2.2 versions, Eclipse automatically associates the required Lib with the new project;

Associated by: Android->libary;, Properies, Project

You will see that APPCOMAT_V7 is loaded as LIB, if you do not want to reference this LIB, delete it, the association is lifted, it will not be compatible with the previous version;

If you do not want APPCOMPAT_V7 to be automatically generated, you can set the minimum Required SDK (the minimum compatible version) to 4.0 when you create the project, and there will be no such project.

And appears to appear, this error is still to be solved, the solution is as follows:

(1) Open the Android SDK Manager, download the latest Android SDK and the corresponding Android SDK Build-tools in Tools, as of November 2014, it should be Android 5.0 (API 21); Extras's Android support Respository,android support Library and Google USB driver are also downloaded;

(2) After the download is complete, select the APPCOMPAT_V7 project, click Project in the menu bar to remove the build automatically tick, that is, do not build automatically;

Then clean the whole project: Clean all projects, then build project; Of course, it would be better to reboot;

Then there should be no error, and then the build automatically selected, in the future can be a new project;

(3) New project, in order to be compatible with the previous version, if you do not want to generate APPCOMPAT_V7 project, you should introduce APPCOMPAT_V7 jar package as support;

APPCOMPAT_V7 Engineering Error and red exclamation mark when "Go" Android New project

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.