It's disgusting, too, that Android studio is not used to having the latest version of Eclipse installed and then loading the ADT plugin
Normal open Eclipse, new Android project, the last step to an Error
Java.lang.NullPointerException
Errors running builder ' Android Resource Manager ' on Project ' XXX '
I see, the null pointer is abnormal, do not understand, so crawl Baidu and Google.
The reason seems to be the JDK 7 problem, so ... There are three ways to solve this problem
1: Manually create a project APPCOMPAT_V7, seemingly compiled SDK to use 4.0.3 (this method is not recommended)
2: With JDK 8. Delete the old JDK first, and the MAC needs to delete the Javaappletplugin.plugin and
/library/java/javavirtualmachines inside the JDK
3: Open the Eclipse program next to the Eclipse.ini,-vmargs on a line to add the following two lines (JDK 6, cannot be 7, has been tested several times, recommended this method)
Mac:
-vm/library/java/home/bin/java
Windows: (Give me a chestnut, beat it, imitate it)
-vmc:/program Files/java/jdk_1.6.10/bin/java.exe
Save, restart Eclipse, incredibly well ...
At this time two words describe the mood: (NI) ah (MA) AH (B)
Eclipse + ADT new Android project Errors running builder ' Android Resource Manager ' workaround