Eclipse的Andr​​oid SDK中更改后的错误错误、Andr、Eclipse、SDK

2023-09-05 03:31:11 作者:女爷就是范儿

我有一个问题,我升级Android SDK中,所以我做了一个干净的在新位置的SDK重新安装。当我更新了我的日食构建路径,但即时得到当我打开日食工作区以下错误:

I was having a problem upgrading my Android SDK so i did a clean re-install of the SDK in a new location. When I have updated my build path in eclipse, but im getting the following error when i open eclipse to the workspace:

解析数据,谷歌公司:谷歌的API:7失败 显示java.lang.NullPointerException

Parsing Data for Google Inc.:Google APIs:7 failed java.lang.NullPointerException

可以有人帮忙

解决

我也越来越开放的工作空间和保存的错误。最后,我创建了一个新的工作区和进口的项目和固定它..什么是一场噩梦。

I was also getting workspace open and saving errors. In the end i created a new workspace and imported the projects and that fixed it.. what a nightmare..

推荐答案

这个问题可以有不同的来源,并且可以几乎肯定会通过创建一个新的Eclipse工作区解决。你会失去你preferences,将需要重新安装任何加载项。

This problem can have various origins and can almost certainly be resolved by creating a new Eclipse workspace. You'll lose all you preferences and will need to reinstall any add-ons.

在我的情况下,问题的根源是我的JDK版本。 Eclipse中显然已经位于我的JDK 7的安装,并把它设置为默认值。只要改变preference回JDK 6并重新启动Eclipse的解决它。

In my case the root of the problem was my JDK version. Eclipse had evidently located my JDK 7 installation and had set it to default. Simply changing the preference back to JDK 6 and restarting Eclipse resolved it.