Mac under Eclipse creates an empty solution for Android projects.

Source: Internet
Author: User

Recently replaced the computer with a Mac, due to the 10.10 OS X, do not bring the Java SDK, there is no way to the official web download jdk1.7,

(Why not download 1.6, or 1.8.) 1.6 is too old to support some properties of Android 5.0, 1.8 is too new, afraid and Android somewhat incompatible)

Configure Android Studio: Direct is a fool-like configuration, download to complete the installation on the line.

Configure Eclipse

After the installation of ADT configuration, directly using the form of offline installation (do not know the offline installation please Baidu), ignore the middle pop-up whether continue

Window. (The SDK is self-identified, has been downloaded well)

It seems to be all right, but when you create a new Android project you will be prompted for build errors, and the items you created

are empty.

The solution to your own attempts:

Delete the workspace and recreate it. ---"is still the same mistake.

May also be the process of ADT installation error, then I do not install the ADT Head office, and then directly downloaded the Adt-bundle-"

When you open eclipse, you are prompted to install jdk1.6 for Mac click on the button to the Apple official website, I didn't think it would be Apple

's official website, then install it. --"The result is still the same error

Google to probably JDK 7 is not compatible with eclipse, so removed JDK 7 (how to delete it?). )--"Looks like you can create a

Restart open Eclipse Discovery installed JREs has pointed to jdk1.6, haha, but when rendering the XML it is necessary to display

JDK 1.7 to support Android 5.0 rendering, wqnmlgb--"still can't run

Then reinstall the JDK 1.7 problem perfectly solved, you can create a new project, you can also render XML.

This is somehow good: the key to the solution is installed JREs cannot point to JDK 1.7.

But your Mac must also have 1.7 installed.

Mac under Eclipse creates an empty solution for Android projects.

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.