Http://stackoverflow.com/questions/18096315/mac-error-create-android-project-errors-running-builder-android-resource-man
Error running Android Eclipse report title on Mac Notebook, then found the answer on StackOverflow
5 down Votefavorite |
I Spent the whole day just trying to create a simple Android application Project on my Mac (10.7.5). When pressing "Finish" in the Project Wizard, I got the following error message: Errors occurred during the build. Errors running builder ‘Android Resource Manager‘ on project ‘MyFirstApp‘. java.lang.NullPointerException
A project with empty directories is created, but no files were generated except for a file called "Proguard-project.txt", Which just contained comments. I literally just downloaded the ADT Bundle onto my Mac. I ' ve already had a look in here and tried all the suggestions there, like removing the ". Metadata" folder and trying to Ch Ange the Android "Project Build Target". I ' ve also tried using Eclipse Juno and kepler-same problem. I ' ve reinstalled Eclipse and recreated workspaces many many times. So I ' m pretty stuck...it ' s not working out of the box. Any help would is most appreciated. |
Sounds like Eclipse doesn ' t see SDK Android folder. Did you configured your Eclipse? – maxim shoustinaug 7" at 6:42 |
|
I didn ' t think I need to? ADT Bundle comes with the SDK installed. I had a look at the ' eclipse/preferences/android ', and it seems to be pointing to the ' SDK ' directory that came with the B Undle "adt-bundle-mac-x86_64-20130729" – iht aug 7" at 6:49 |
|
Lots of people solved this Issue as described at this link: stackoverflow.com/questions/14455018/... – superpuccio oct 2" at 8:55 |
|
Were you Able "solve" Problem? I have the same issue and I can ' t find any reason why this is happening. – sourabh86 may" at 14:02 |
down vote |
I got same error on my Windows machine. When I compared project file system with other working project I found that
Was missing, so I Created a txt file and renamed it to the "project.properties" then the got this message on my console. "Project has no project.properties file! Edit the project properties to set one"
Then I went through Project menu project->properties->android->choose & set the "project build target".
Then build It.now everything was smooth. We just setup a valid project.properites file for that project. |
3down vote |
The the The solution I ' ve used to solve that problem which gave me enough troubles.
- make sure that you ve installed Already the following Libraries android support Library, Android support Repository and Google Repository by checking in t He folder by openning the android SDK Manager in Eclipse.
- Create an Android Sample Project then choose the appcompact_v7 Library.
- Close the project you've just created, restart Eclipse and create now a new Android application project.
Hope that it'll help you! |
I followed following article and it solved the problem by adding a line to the Eclipse.ini
To resolve the issue, do the following:
1. Go to your eclipse directory and find "Eclipse.app" file. Just to be on safe side, back up this file somewhere (Just the Eclipse.app file).2. Right-Click on "Eclipse.app" file, and select "Show Package Contents"3. Once inside package, go to Contents-->MacOS, and open "eclipse.ini"4. Just before the "-vmargs", add the following:-vm/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java5. Run eclipse again, and you should be able to create the project without any problems.
PS: When viewing the Android project, layout of the preview interface
Eclipse reported this: parsing Data for android-21 failed unsupported Major.minor version 51.0
I still use the local jdk1.6, this api-21, need 1.7Later
Finally, I use the above modification Eclipse.app inside the package contents of the configuration information to solve, the problem is in the jdk7.0 version above ...
Now two words describe the mood: (NI) ah (MA) AH (B)!
Mac Error Create Android Project-"Errors running builder ' Android Resource Manager ' on Project"