Eclipse Android SDK - error in creating workspace

I updated my packages using the Android SDK Manager and clicked Help> Check for Updates and updated the installed plugins. I was asked to restart eclipse and now after restarting,

I get the 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 
+8
android eclipse
source share
4 answers

Do you have the right dependencies ? What version of eclipse did you install? What JRE / JDK is used to run eclipse with?

Bad version number means there is a mismatch between the target target Java version and the one you are using (see here ).

+4
source share

I had the same error. I checked sdk updates again, installed them in eclipse, I checked for updates (help-> check for updates). After the resumption of the eclipse, I will return to normal. hope this helps

+8
source share

In my case, restarting the computer resolved all the problems without reinstalling the ADT plugin. BTW, I am using MAC + ADT_v22

0
source share

I have a mistake in one of my projects. I just switch workspace and the problem is resolved.

Open Eclipse . Go to the menu "File" → "Move workspace" → "Other" and create a new path to the workspace. And you are good to go.

0
source share

All Articles