I recently switched to Ubuntu 12.10, which led to a broken Eclipse installation and so my Android Build Environment was gone. I used a self-installed Eclipse Juno at this point. But I thought I could use the Eclipse 3.8.0 that comes as Ubuntu 12.10 package.
This is done by the simple command
1
| $ sudo apt-get install eclipse |
Now the ADT plugin has to be installed:
- Start eclipse and select Help->Install new software… and add http://dl-ssl.google.com/android/eclipse/ to available software sites.
- Select the needed android adt plugins then
- Download Android SDK 21 at http://dl.google.com/android/android-sdk_r21-linux.tgz or a newer version
- Untar that SDK package, e.g. in your home as ~/android-sdk-linux
- After restart of Eclipse go to Window->Preferences into the Android section and set the SDK location to your untarred directory.
After that Eclipse complains, that it does not find the Android SDK Platform Tools. After another Eclipse restart a dialog is shown where the Android SDK Manager can be started to fix the problem.
All fine, but where is my heavily used Window-> Android SDK and AVD Manager? It seems to be gone with Eclipse 3.8.0 on Ubuntu 12.10. But then I have found that the Android SDK Manager is also accessible as standalone tool on the command line. So you do not need Eclipse for calling it:
1 2
| cd ~/android-sdk-linux/tools
./android |
The already known window opens where you can install and update all Android SDK items. Remember to restart your Eclipse workspace, when you made changes.