Eclipse + ADT new Android project Errors running builder ' Android Resource Manager ' workaround

Source: Internet
Author: User

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

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.