Eclipse的Andr​​oid SDK中 - 建设工作空间错误 [英] Eclipse Android SDK - error in building workspace

查看:240
本文介绍了Eclipse的Andr​​oid SDK中 - 建设工作空间错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经更新了采用Android的SDK管理器我的包,并点击帮助>检查更新和更新安装的插件。我被提示重新启动Eclipse,现在重启后,

我获得以下错误code

 '建设工作区'遇到了问题。
在生成过程中出现错误

在生成过程中出现错误。
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ResourceManagerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt。preCompilerBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders。preCompilerBuilder。
在.class文件错误版本号
错误实例建筑工地com.android.ide.eclipse.adt.ApkBuilder。
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
插件com.android.ide.eclipse.adt无法装入类com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder。
在.class文件错误版本号
 

解决方案

您一定有正确的依赖?其中Eclipse版本,你已经安装了?其中JRE / JDK是用来运行Eclipse呢?

错误版本号意味着有预定的目标Java版本,并使用一个不匹配(见的这里)。

I have updated my packages using Android SDK Manager and clicked on Help > Check for updates and updated installed plug-ins. I was prompted to restart eclipse, and now after restarting,

I get following Error code

'Building workspace' has encountered a problem.
Errors occurred during the build

Errors occurred during the build.
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
Bad version number in .class file
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
Bad version number in .class file

解决方案

You sure to have the correct dependencies? Which eclipse version do you have installed? Which JRE/JDK is used to run eclipse with?

Bad version number means that there is a mismatch between the intended target java version and the one you use (see here).

这篇关于Eclipse的Andr​​oid SDK中 - 建设工作空间错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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