[Andorid] An error occurred while importing the android project to eclipse.

Source: Internet
Author: User

I changed my computer a few days ago and set up a new Android development environment. But some errors occurred when I imported my previous project!


Error

Error message printed:Android requires compiler compliance level 5.0 or 6.0. Found '1. 4' instead. Please use Android tools> fix project properties.

First, clean up the project, and then follow the steps below:

1. right-click a project and choose Android tools fix project

2.If not, checkProject->Properties->Java compiler 


Verify that JDK compliance is set1.6AndEnable specific seetings.

After these two steps, the problem is basically solved.

Another Error

After updating the android SDK, you will often encounter an error such as "sdk manager: failed to install" and "tools can't write" that means the tools file cannot be written. Later, with the help of Google's great god, I found a blog post for Daniel. The following describes a solution:

If "sdk manager: failed to install" is prompted during the installation process, do not rush. Quit first and then

1.import the tempfile folder of sdkand download tools_r06-windows.zip (the name may be different)

2. Unzip this file and the tools_r06-windows folder appears

3. Enter and copy all the files in the tools_r06-windows and overwrite the files in the tools folder in the SDK root directory

Using Google helps us solve many problems.

Related Article

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.