The correct way to import an Android project from eclipse

Source: Internet
Author: User

Direct:




After importing the project in Android, the package error resolution

Select the item and right-click on properties:
1. Check that the project build target is checked in the Android Options page.
2. Check if the corresponding Android Orler is checked in Explort and libraries in the Java build path.
3. Open the menu bar in Windows, Preferences:java, compiler Then replace the JDK version, usually 1.6 to 1.5 is no wrong.

I solved it with this method (5.0 or 6.0. Found ' 1.7 ' instead. Please use Android Tools > Fix Project Properties) problem, other have not tried, encountered the problem is said.
4. Check your Android SDK path settings: windows, PREFERENCES:ANDROID
5. Set your Android SDK environment variable: Set the Android_sdk_home value in path to your Android SDK directory
6. If the problem occurs in Gen, first try to remove the package from Gen, Wait for eclipse to automatically compile

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.