1. Problem phenomenon (Unable to resolve target ' android-xx ')
When you import a low-version code into eclipse, you often encounter the problem: Unable to resolve target ' android-xx '
2. Cause of the problem
This is the result of the Project.Properties Project target setting in the original code that is inconsistent with the current Eclipse environment settings.
3. Workaround
First get the API version of current eclipse, by the know my Eclipse API version is 20
Then go to Android project, the root directory of the project, open the Project.Properties file with Notepad (my UltraEdit), and project Target.target=android-8 Change to the API version you currently support
Change the API version in the red circle to the API version of Eclipse found above, where I changed to 20 and saved.
Unable to resolve target ' android-xx ' problem solving