与解析Android SDK中的内容并初始化Java工具在Eclipse中的错误 [英] Error with parsing Android sdk content and initializing java tooling in eclipse

查看:835
本文介绍了与解析Android SDK中的内容并初始化Java工具在Eclipse中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每次打开Eclipse中,我得到了以下错误消息:

Every time I open Eclipse, I get the following error messages:

Android SDK中内容装载机: parseSdkContent未能显示java.lang.NullPointerException

Android SDK Content Loader: parseSdkContent failed java.lang.NullPointerException

初​​始化Java工具 初始化Java工具:在发生内部错误。显示java.lang.NullPointerException

Initializing Java Tooling An internal error occured during: "Initializing Java Tooling". java.lang.NullPointerException

加载数据的Andr​​oid 2.2 数据解析为Android-8没有显示java.lang.NullPointerException

Loading data for Android 2.2 Parsing Data for android-8 failed java.lang.NullPointerException

加载数据为Android 2.3.3 数据解析为Android-10没有显示java.lang.NullPointerException

Loading data for Android 2.3.3 Parsing Data for android-10 failed java.lang.NullPointerException

加载数据,谷歌的API(谷歌公司) 对于谷歌公司:谷歌API的解析数据:8失败显示java.lang.NullPointerException

Loading data for Google APIs (Google Inc.) Parsing Data for Google Inc.: Google APIs:8 failed java.lang.NullPointerException

请参阅链接的截图: http://i.stack.imgur.com/lhhQQ.png

See link for screenshot: http://i.stack.imgur.com/lhhQQ.png

(我使用的OS X Lion中,和Eclipse太阳神)

(I am using OS X Lion, and Eclipse Helios)

首先我看了一些帖子说,这是这是造成麻烦的.android轮廓AVD.ini文件。我试着删除所有整个.android配置文件夹的建议在问题与Android SDK内容加载。这并没有解决我的问题。

First i read some posts saying that it was the AVD.ini file in the .android profile that was causing the trouble. I tried deleting all the entire .android profile folder as suggested in Problem with Android SDK Content Loader. This didn't correct my problem.

我试图删除整个Android的SDK文件夹,重新下载它,并通过它安装了几个版本的Andr​​oid。还是一样的错误信息......

I tried deleting the entire Android SDK folder, downloaded it again and installed a couple of Android versions through it. Still the same error messages...

要确保我没有任何旧插件或一些人的问题,我卸载了日食,重新下载并重新安装了Android插件。 (所以插件是最新的)。

To ensure that I didn't have any old plugins or something that were the issue, I uninstalled eclipse, downloaded it again and installed the Android plugin again. (So the plugin is up to date).

当我进入我的Andr​​oid的项目之一,我得到的,我通过使用R文件存取权限的资源的地方错误消息。常规的Java项目中正常工作,但所有的Andr​​oid项目得到小红盒,对他们的白色十字架。我一直在寻找一个解决方案,从昨天起这个问题,但在这一点上,我完全qlueless并且将AP preciate任何帮助,我可以得到!

When I go into one of my Android projects, I get error messages on places where I acces resources by using the R file. Regular Java projects work fine, but all Android projects gets small red boxes with white crosses on them. I have been searching for a solution to this problem since yesterday, but at this point I'm completely qlueless and would appreciate any help I can get!

推荐答案

关闭所有打开的项目和退出的Eclipse。现在,您可以打开Eclipse中没有得到的错误。开始逐一打开您的项目找到哪一个会导致​​该问题。这很可能是因为你删除的AVD管理器内的设备配置文件。

Close all open projects and exit Eclipse. Now you can open Eclipse without getting the error. Start opening your projects one by one to find which one causes the problem. This is most likely because you deleted a Device profile inside the AVD manager.

这篇关于与解析Android SDK中的内容并初始化Java工具在Eclipse中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆