Open New Project Error: Errors Executed by Android Resource Manager Developer on Project

I have big problems with Eclipse

I download the latest ADT package and then a new Android project but an error occured:

enter image description here

then i google and found some suggestions like new workspace but still not working

enter image description here

and i found a strange phenomenon, java compiler always changed to 1.4 and jre was always missing, it came up every time the workspace changed

enter image description here

enter image description here

the new project is strange too.

enter image description here

I am selecting a project property, another error occurred when selecting Android

enter image description here

Then I google the error, found a solution to create a file called default.properties, put it in the root of the project and it worked, but I still cannot create the layout file or change the string.xml file

enter image description hereenter image description here

What's wrong with my Eclipse?

+3


source to share


3 answers


Adding the following line to eclipse.ini worked for me



-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java

      

+2


source


ADT does not work with Oracle J7K J7K, but does not work with NPE in the Android Application Project Wizard.

Here's a workaround to keep Java 7 as the default, but run ADT with Java 6 when you both have installed. Bring up $ ADT_DIR / eclipse / Eclipse.app / Contents / macOS / eclipse.ini in an editor. Insert these two lines before the -vmargs line:



-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java
      

Run codeHide result


+1


source


After wrestling with this issue for a while, this was a combination of answers that solved it for me:

0


source







All Articles