Android developers have recently discovered that after updating ADT to 22.6.0, a new Setup project will appear, and the contents of the appcompat_v7 are created. and create a new content that will appear. In fact, Appcompat_v7 is Google's own compatibility package, is a support library, can make more than 2.1 full use of the 4.0 version of the interface.
You will find that after the project is created, in addition to the project we created, there is a package called "Appcompat_v7", and the package shows an error (red X), and the project package displays a red exclamation mark. Workspace.
First solve the project after the completion of the APPCOMPAT_V7 package error. The test package has a red warning issue.
Method One: Click on the menu bar "Project", select "Clean", then click "OK", after clean completes, you will find the APPCOMPAT_V7 package error. The problem with the red warning in the test package has been resolved, except that the test package has a yellow warning, just because the import class in Test's Java file is not being used, so it is completely out of control.
Method Two: If it does not work, then right-appcompat_v7 package, select Properties, click "Android", if the library under the "Is Library" box is not checked, tick, click "OK", and then follow the steps above "clean "Action.
Method Three: If you are still brooding over the appcompat_v7 bag, I tell you how to build a project without the APPCOMPAT_V7 package. Since the APPCOMPAT_V7 package is a support library that allows more than 2.1 of all 4.0 versions of the interface, we will be able to select the minimum SDK at Android4.0 above when we build the project.
APPCOMPAT_V7 issues with new ADT when creating a project