Unable to resolve target ' android-xx ' problem solving

Source: Internet
Author: User

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

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.