Yes, it’s Christmas as I blog this at 2am, however I got a new laptop for Christmas and am geeking it out to the point where I can use it for fun stuff. To that end I’ve been trying to install the requisite tools for Android development and hit an issue which could have (but thankfully didn’t) take me hours to sort out. I’m a complete n00b at this, so don’t treat this as anything like a complete guide!
Having managed to “install” Eclipse (which from what I can tell just means copying the contents of a zip file to somewhere on your hard drive) and the Android SDK, I needed to install the ADT (Android Development Tools) plugin for Eclipse. However on doing this I was getting an error telling me:
Missing requirement: Android Development Toolkit 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt 0.9.4.v200910220141-17704) requires ‘bundle org.eclipse.gef 0.0.0’ but it could not be found
This was a pain, and it took a bit of Googling to discover how to rectify that. Apparently the version of Eclipse Google recommend (Classic) doesn’t include the GEF or ‘Graphical Editing Framework’ which the Android ADT plugin requires. Nice! So the easy way to install this (thank you to IBM for the pointer on this) is to install it the same way you would the ADT plugin, i.e. open up Eclipse and choose “Install New Software” in the “Help” menu.
When it says work with, instead of using the URL Google give for Android, use the one where GEF lives. In my case, for version 3.6.x of Eclipse, this is:
Helios – http://download.eclipse.org/releases/helios
(Helios being the codename for Eclipse 3.6). Once this is done you’ll be advised to restart Eclipse (so I did) and everything seems to be going ok now (touch wood!).
I just hope this helps someone else with the same problem or, more importantly, helps me the next time I come across the same thing and end up scratching my head trying to remember how I fixed it!