NullPointerException when installing the Android SDK on Mac OS X

后端 未结 2 1229
独厮守ぢ
独厮守ぢ 2021-01-25 04:20

I\'m installing the Android SDK on Mac OS X. Following the instructions on the Android Development site, I\'ve downloaded the SDK and modified my .bash_profile to include the p

相关标签:
2条回答
  • 2021-01-25 05:16

    What version of OS X are you on? What does "java -version" give you?

    A possible easy workaround: Try installing the SDKs you need from inside Eclipse after installing the ADT plugin using Window -> Android SDK and AVD Manager, instead of the standalone frontend tool. Since that runs inside Eclipse, there tends to be fewer weird library compatibility issues.

    0 讨论(0)
  • 2021-01-25 05:21

    I discovered that there is a problem after updating to 10.6.3 (should have known). I wasn't able to find anything about it, but after posting this, I suddenly couldn't open Eclipse either. That led to this thread on the Apple forums indicating that the problem could be a corrupt font cache, which in turn led to an explanation of how to clear the font cache here. After following the instructions for clearing the font cache, I tried both Eclipse and the Android install again; this time it worked perfectly.

    0 讨论(0)
提交回复
热议问题