A workaround for the SDK location is not recognized after Android upgrade ADT and SDK

Source: Internet
Author: User

I upgraded the Android ADT and SDK from 4.0 to 4.2, and found that the platform of the various API level listed in Eclipse's Android settings had disappeared and could not create a new Android project. And check that both the SDK and ADT are up-to-date.

The solution is to re-build a workspace (workspace). in Eclipse's Windows > Preferences > General > Startup Shutdown > Workspaces, remove the previous workspace and restart the EC Lispe (This causes the project to not see the previous, it is recommended that all projects be selected in the Package Explorer before remove and then exported as ' File System ' for later import).

After you re-enter Eclipse, look at the Android SDK location and you should be able to identify it. If not, rename the directory where your SDK resides, and then go to the Android category in Eclipse settings to point the SDK location to the path of the renamed directory. After the recognition is done, rename that directory back to the original, and then specify the path again in the settings.

A workaround for the SDK location is not recognized after Android upgrade ADT and SDK

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.