24

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

Johnykutty
  • 12,091
  • 13
  • 59
  • 100

19 Answers19

14

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
Bhavin
  • 6,020
  • 4
  • 24
  • 26
8

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.

LoveMeow
  • 3,858
  • 9
  • 44
  • 66
5

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

vic12
  • 51
  • 1
  • 2
1

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.

salomonvh
  • 1,739
  • 1
  • 15
  • 15
1

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

PhilWilliammee
  • 541
  • 6
  • 10
1

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.

Amith
  • 1,907
  • 5
  • 29
  • 48
1

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

goRGon
  • 4,402
  • 2
  • 43
  • 45
1

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

TharakaNirmana
  • 10,237
  • 8
  • 50
  • 69
0

I had same problem and I have started to read answers above. then I stopped to read and just restarted eclipse and it is worked for me! (this is my first solution for all electronic devices and generally works :)

themaster33
  • 91
  • 1
  • 8
0

This can occur if you remove Android from your build path. Just try to relink JRE6 or 7 and restart the program. Eclipse will handle it for you.

4444
  • 3,541
  • 10
  • 32
  • 43
zessa
  • 1
0

I got this problem solved when I restarted Eclipse and changed the workspace am working on.

geet Sebastian
  • 677
  • 6
  • 12
0

You can try changing the workspace too. It worked for me!

infinite93
  • 63
  • 3
0

If you are on a Mac and user Eclipse ADT, go to ADT -> Preferences -> Android. There you should find an option for setting your Android SDK location. Simply browse for the existing ADT, and select the SDK folder.

This of course can only be done after the SDK has been installed.

Android preference settings in Eclipse ADT

Droid Chris
  • 3,455
  • 28
  • 31
0

Just restart the eclipse. It seems eclipse is having some bug which is leading other components from proper loading. Or first of all start sdk manager from background and then eclipse.

Magnilex
  • 11,584
  • 9
  • 62
  • 84
grayhat
  • 11
  • 2
0

Simple: This is work for me. Please follow these steps. GO To: Help>>Install New Software>>Available Software Sites then Locate for: http://download.eclipse.org/releases/indigo

If available then just select and reload Else ADD >> Location past this url in http://download.eclipse.org/releases/indigo ">>OK Then >> Reload

Hope this help somebody .

0

Enter the variable 'PATH' the path of the JRE folder (java).

0

I hope that would help somebody: I had the same problem and ironically the problem was in a simple code error. For some reason this error caused Eclipse to overreact with red lines all across the code and saving errors as well as the error mentioned in this post.

I fixed the problem (deleting an extra }) and all problems disappeared.

I don't know why Eclipse overreacted this time, but it's another option to check before you install, uninstall or update anything.

Good luck.

ofermc
  • 287
  • 3
  • 10
0

I just want to add this in here as the problem just occured with me. What I did was close eclipse, reopen it and then it started working. If this doesn't fix the issue then I advise you go with @Bhavin's answer.

James111
  • 15,378
  • 15
  • 78
  • 121
0

You might have stored two ADT plugins one with link and other with zip file you have to delete one of them Help -> Install new software -> Available software for sites -> and remove one of adt plugins.

Mujtaba Zaidi
  • 629
  • 1
  • 6
  • 14