Eclipse的Andr​​oid SDK中 - 建设工作空间错误错误、工作、空间、Andr

2023-09-06 08:44:32 作者:巴别塔以北〃

我已经更新了采用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).