I recently purchased a Macbook, I blogged about this getting adjusted to my new development environment. I decided to take another look at Android programming, I was able to get the environment setup on my windows machine without much trouble. However I struggled for 2 days with errors when I tried to get things running on my macbook 😦
Errors occurred
After unzipping the Eclipse ADT bundle, I kept receiving cryptic messages whenever I tried to create an Android project:
Errors occurred during the build. Errors running builder 'Android Resource Manager' on project 'MyFirstApp'. java.lang.NullPointerException
I google and found out I was the only one:
- Mac errors creating android project
- Errors running builder on ADT
- Eclipse / Android errors running builder
- Issue 68755 – NPE in ADT
- It appears that the Null Pointer only occurs if Activity is created using the new project wizard
I found a few guides written by people who experienced the same issues:
In the end I got my project to build by creating my Activity from outside the Wizard, I also downgraded to Java 6.