Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADT 21 update not recognized by Eclipse

I just updated my ADT plugin for Ecipse to v21 but after a restart it is not working.

Somehow the plugin's are version 21.0.0.v201210310015-519525, but the SDK verification is telling me that I am on v20.2.v201207191942-407447 and forcing me to update.

I've tried removing the plugin but that's not possible trough the help > about > Installation details. Reverting back to older installations let me reinstall the update but with the same result.

Im using Eclipse Juno 20120614-1722

can anyone point me in the direction to fix this?


UPDATE:

As it turned out, Windows 7 UAC was at play here. I thought i was running eclipse as admin, but i wasn't. What the strange part is, is that Eclipse tried to install the updates but fails without ever mentioning that it does not have the right to changes files without administrative rights. the next time you boot up, the installation thinks its updated but the files are not.

Solution:

  • Run in Administrator mode (by setting it as standard in your shortcut or turn UAC off)
  • Roll back to a previous installation (Help > About Eclipse > Installation Details > Installation History > (select previous installation) Revert )
  • Reboot Eclipse (be sure to have Administrator rights)
  • Update without a problem :)
like image 238
SjoerdvGestel Avatar asked Nov 14 '12 13:11

SjoerdvGestel


2 Answers

you have to update the eclipse so that it support the latest ADT. To do this you have to select Help->Install New Software and then work with this link update site: https://dl-ssl.google.com/android/eclipse/. After that update Developer Tools.

like image 62
saini Avatar answered Sep 30 '22 13:09

saini


As it turned out, Windows 7 UAC was at play here. I thought i was running eclipse as admin, but i wasn't. What the strange part is, is that Eclipse tried to install the updates but fails without ever mentioning that it does not have the right to changes files without administrative rights. the next time you boot up, the installation thinks its updated but the files are not.

Solution:

  • Run in Administrator mode (by setting it as standard in your shortcut or turn UAC off)
  • Roll back to a previous installation (Help > About Eclipse > Installation Details > Installation History > (select previous installation) Revert )
  • Reboot Eclipse (be sure to have Administrator rights)
  • Update without a problem :)
like image 28
SjoerdvGestel Avatar answered Sep 30 '22 14:09

SjoerdvGestel