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