When compiling with eclipse, we need the support package that Google provides to us in order to enable our app to be compatible with the lower version of the SDK.
Google does this to make the Android SDK always backwards compatible, and lets programmers focus on the implementation of their code functionality without having to go into more tangled versions of the problem.
(It's an industry conscience!) )
However, when we reference a support package, we are often plagued by the following exceptions:
Let me share my idea of the solution:
1. To determine the version number of your support package, the steps are simple:
(1) Open your SDK Manager interface:
You can see the latest support package version, if you want to update, then update to the latest version, and then perform the second step.
(2) The first step is to know that you support the package version, and then reference the AppCompat support package in your SDK to the compiler, the general path is: Sdk\extras\android\support\v7\appcompat.
Imported directly using the import operation.
(3) If the above abnormal red error occurred after the introduction, then don't be nervous, right-click Android-support-v7-appcompat Project:-"properties-"
Remember the first step to remember the version number, will be checked here to the corresponding version number, and then apply a bit, and finally clean the project, the error disappears into a trace ....
"It is important to note that if a project is to reference this support package, then the project Build target must also be the same as the support package (the third step is similar to the one above), or else the exception will occur."
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android introduces Support-v7-appcompat package values folder error Resolution