Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plug-in com.android.ide.eclipse.adt was unable to load class android

I am new to android development My eclipse was working properly. But now when I start a new project it give an error Problem opening wizard The selected wizard could not be opened

The Detailed error message is

The selected wizard could not be started.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (239).

I can't run existing Android project also.But I can start a new java project and run. Why this is happening

like image 433
Johnykutty Avatar asked Apr 14 '12 06:04

Johnykutty


8 Answers

If you have not added ADT then do the Following steps.

Help -> Add New Software -> Add.

In Name option write ADT

And if you have installed ADT in your Computer then add its path in Location like

jar:file:/D:/ADT-16.0.1.zip!/

And then ADT will install.

And if there is a problem try to remove that adt and install again.

1) remove the ADT repo (Window->Preferences->Install/Updates->Available Software Sites)
2) add Indigo repo ("http://download.eclipse.org/releases/indigo")
3) run updates
4) add ADT repo again and install
like image 68
Bhavin Avatar answered Sep 23 '22 00:09

Bhavin


For me,what seemed to work was:

1.Restarting the application 2.(Or) Restarting the computer

I still had some problems.Some projects dint load.I'm not sure what the problem is or was.I think reinstalling ADT should do the trick.

like image 43
LoveMeow Avatar answered Sep 21 '22 00:09

LoveMeow


Actually it is not necessary to uninstall the ADT plugin. Just add this repo(http://download.eclipse.org/releases/indigo) and then help->check for updates

like image 45
vic12 Avatar answered Sep 22 '22 00:09

vic12


I have been having a similar problem, and it seems to be the org.eclipse.objectteams plugin causing the trouble for me. What I needed to do was remove the plugin from my Eclipse plugin directory as follows:

mv ~/.eclipse/*/plugins/org.eclipse.objectteams* ~/someDIR

There seems to be dependency issues with the newer versions of Eclipse. Sorry if I can't provide more information.

Maybe see https://bugs.eclipse.org/bugs/show_bug.cgi?id=350133.

like image 31
salomonvh Avatar answered Sep 20 '22 00:09

salomonvh


You will also get this fault if you have an AVD running. Close the AVD and restart eclipse

like image 28
PhilWilliammee Avatar answered Sep 19 '22 00:09

PhilWilliammee


Am posting this answer for the people who is referring this post in future.

The methods that all mentioned will take more time. I have figured out this problem by updating plugin. But it is not like the way as vic12 is mentioned. I have done this in the following way

Help > Install new software > click on link What is already installed you can see a list of installed software. You can choose and update any one as you want. If you click check for update it will update all the software that we installed it will take a lot of time. By this way you can update the one that you want. This can be done in a minute. it saves time.

like image 40
Amith Avatar answered Sep 21 '22 00:09

Amith


In my case computer restart resolved all the issues without re-installing ADT plugin. BTW, I am using MAC + ADT_v22

like image 45
goRGon Avatar answered Sep 23 '22 00:09

goRGon


Go to Help - eclipse market place - search for adt. Then update or install it. This worked for me.

like image 27
TharakaNirmana Avatar answered Sep 19 '22 00:09

TharakaNirmana