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.