Android requires compiler compliance level 5.0 or 6.0. Found '1. 7' instead. Please use

Source: Internet
Author: User

After the operating system is reinstalled, You need to reconfigure the android development environment. After successful configuration, an error occurred while adding the original project!

Android requires compiler compliance level 5.0 or 6.0. Found '1. 7' instead. Please use Android tools> fix project properties.

Solution:

1. Right-click the project and choose Android tools> fix project.

2. If not, check project-> properties-> Java compiler to confirm that JDK compliance is set to 1.6 and enable specific seetings. After these two steps, the problem is basically solved.


After updating the android SDK, another eeror often encounters an error such as "sdk manager: failed to install", "tools can't write", which indicates that the tools file cannot be written.

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

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.