Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Thursday, October 14, 2010

Eclipse ADT plugin on Ubuntu 10.10 after upgrade from 10.04

Recently, after upgrading my Ubuntu to 10.10 from 10.04, I found that my Eclipse Android Development Toolkit plugin stopped working. The Eclipse Help->Installation Details Menu would list ADT under Installed Software Tab. However, neither the Features Tab nor the Plug-ins Tab would list ADT. I noticed that my SVN plugin was not showing up after the upgrade too. Forums such as http://forum.xda-developers.com/showthread.php?p=8613858 were not useful either -- they suggested uninstalling Eclipse which came with Ubuntu 10.10 distribution and replacing it with stock Eclipse from eclipse.org website. I solved this without reinstalling eclipse although, plugins need to reinstalled.

An inotifywatch -r on the ~/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins directory, and subsequently starting eclipse revealed that eclipse was not even trying to read any plugins from that directory. Apparently something in Ubuntu 10.10 build of Eclipse has changed which causes it ignore the previously installed plugins. So I moved out my old ~/.eclipse/org.eclipse.platform_3.5.0_155965261/ directory to /tmp. Restarted my Eclipse and reinstalled my ADT and other plugins. Here are the steps:
  1. Exit eclipse if running
  2. Delete ~/.eclipse/org.eclipse.platform_3.5.0_155965261
  3. Start eclipse
  4. Open Help->Install New Software
  5. Install GEF plugin from http://download.eclipse.org/tools/gef/updates/releases. Note that GEF is required for ADT
  6. Install ADT plugin from https://dl-ssl.google.com/android/eclipse

You should have a working ADT in Eclipse on an upgraded Ubuntu 10.10.