To develop for android mobile platforms, we installed Eclipse. We normally use BlueFish as our editor, but we were spoiled years ago by Delphi and still hope to one day find another intuitive IDE with single stepping and data inspection / injection capabilities. We hear Eclipse is good. We tried it before and we unimpressed — it was more Microsoftish than Borlandish, but hey, things change so we thought we’d try it again.
Ubuntu Software Center would not permit the install even though it knew where to get Eclipse — it comes from the partner archives and this has always been a problem area when installing software from the Ubuntu Software Center: there is no obvious way to tell the USC to allow ‘untrusted’ repositories (I know there is a check box — it doesn’t work). We found the needed information on this web site: http://mygeekopinions.blogspot.com/2011/04/how-to-install-eclipse-in-ubuntu-1104.html
First become root with su -, then run these as a script or one by one to (a) update the list of repositories then (b) install the software
apt-add-repository “deb http://archive.canonical.com/ natty partner”
apt-get update
apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
apt-get install eclipse eclipse-cdt eclipse-JDT
This did in fact install Eclipse. The Ubuntu blogs say the eclipse-pde is also needed or ‘many plugins will fail.’
From the Android Developer pages at: http://developer.android.com/sdk/index.html we were following these steps:
Prepare your development computer and ensure it meets the system requirements.
- Install the SDK starter package from the table above. (If you’re on Windows, download the installer for help with the initial setup.)
- Install the ADT Plugin for Eclipse (if you’ll be developing in Eclipse).
- Add Android platforms and other components to your SDK.
- Explore the contents of the Android SDK (optional).
We will post more on setting up for Android development as we go.