我最近刚开始在 Eclipse Helios 中与 Android SDK 和 AVD 管理器交互时出现错误
I've just recently started getting an error any time I interact with the Android SDK and AVD Manager in Eclipse Helios
我尝试重新安装 Eclipse 插件和 Android SDK,但无济于事.
I've tried reinstalling the Eclipse plugin and the Android SDK but to no avail.
如果我转到已安装的包"页面并单击刷新(或安装或删除包),我会收到一个弹出框,提示
If I go to the "Installed packages" page and click refresh (or install or remove a package) I get a popup box saying that
'Android SDK Content Loader' has encountered a problem. parseSdkContent failed java.lang.NullPointerException.这里是完整的日志:
堆栈跟踪
java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.sdk.Sdk.loadTarget(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$10.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)会话数据
eclipse.buildId=M20100909-0800 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IE Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.java.product最近有没有其他人遇到过这种情况?它似乎不会影响实际的 Android 开发,但它只是有点烦人.
Has anyone else encountered this recently? It doesn't seem to be affecting actual Android development but its just kinda annoying.
推荐答案好吧,我不知道我到底做了什么,但我使用了独立的 AVD 管理器(命令行中的/tools/android)并卸载了大部分来自Android SDK 工具,修订版 2".然后重新安装我想要的零件,错误似乎已经消失了..一头雾水!
Ok I've no idea exactly what I did but I used the standalone AVD manager (/tools/android from the command line) and un-installed most apart from the "Android SDK Tools, revision 2". And then reinstalled the parts I wanted and the error seems to have gone away.. Confused!
更多推荐
Android SDK 内容加载器因 NullPointerException 而失败
发布评论