新來一同事,解壓後新建工程報錯 Error Create Android Project - “Errors running builder ‘Android Resource Manager’ on project”這個問題搞了兩天了 ,原因是JDK兼容性問題,不過現在用eclipse的比較少了
:adt-bundle-mac-x86_64-20140702.zip
都說解壓就可以用的,但是一直報的這個錯誤很少有說的,可能遇到的比較少吧,
解決辦法如下:
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/java
5. Run eclipse again, and you should be able to create the project
without any problems.