Tuesday 29 January 2013

ADT Eclipse in Linux Mint 14

Steps to install Android SDK and Eclipse on Linux Mint 14 Maya (which is built on Ubuntu 12.10) x64

1. Download the Android SDK.
2. Download Eclipse Juno for Mobile.
[do following commands as sudo]
3. Copy the tar files into /opt
4. tar xzvf [eclipseJuno.tgz]
5. chown -R <username:username> eclipse
[where username is YOUR username]
6. tar xzvf [adt-bundle-linux-x86_64.tgz]
7. chown -R <username:username> adt-bundle-linux-x86_64
[where username is YOUR username]
8. cd /opt/adt-bundle-linux-x86_64/sdk/tools
9.  run Android SDK Manager with./android
[get out of sudo]

start eclipse
Help > New Software > Add
"adt" : https://dl-ssl.google.com/android/eclipse/

select "Developer Tools" and install

restart Eclipse,
Window > Preferences > Android
"/opt/adt-bundle-linux-x86_64"

test.

To add ADT tools to PATH, add the following to .profile, bashrc, or /etc/profile :


PATH="$PATH:/opt/adt-bundle-linux-x86_64/sdk/tools/:/opt/adt-bundle-linux-x86_64/sdk/platform-tools"

Then dive into the Official Android Docs!

 Thanks to Mark Louiseau for these instructions.

No comments:

Post a Comment