Android ADV无法启动

昨晚在研究如果发送gps坐标到ADV的时候,突然蓝屏死机,蓝屏好多年没见过了,接着重启完毕后,再也打不开ADV Manager了,无奈只好卸掉重装一次,没想到重装完还是无法启动,直接运行android.bat出现如下错误:

D:\android-sdk-windows\tools>android.bat
java.lang.NullPointerException
at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.ja
va:1267)
at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.ja
va:1246)
at com.android.sdklib.internal.avd.AvdManager.<init>(AvdManager.java:224
)
at com.android.sdkuilib.internal.repository.UpdaterData.initSdk(UpdaterD
ata.java:236)
at com.android.sdkuilib.internal.repository.UpdaterData.<init>(UpdaterDa
ta.java:120)
at com.android.sdkuilib.internal.repository.sdkman2.SdkUpdaterWindowImpl
2.<init>(SdkUpdaterWindowImpl2.java:115)
at com.android.sdkuilib.repository.SdkUpdaterWindow.<init>(SdkUpdaterWin
dow.java:89)
at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:325)
at com.android.sdkmanager.Main.doAction(Main.java:308)
at com.android.sdkmanager.Main.run(Main.java:120)
at com.android.sdkmanager.Main.main(Main.java:103)

 

无奈,只好去google得到的解决办法是,删掉C:/用户/lemontv/.android文件夹,windows下什么时候也和linux一样在用户文件夹下创建隐藏文件夹来保存程序的配置文件了…

最终问题得到解决。

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.