Archive for January, 2013

Installing Android Developer Tools on Debian Testing

January 11, 2013

Download

Download from here.

Extract

Assuming that (i) /opt exists, (ii) you have permission to write to it, and (iii) you downloaded the amd64 version to ~/Downloads:

cd /opt
unzip ~/Downloads/adt-bundle-linux-x86_64.zip

Verify

Start by running:

cd /opt/adt-bundle-linux/eclipse
./eclipse

Add shortcut to Gnome Shell

Save the following to /usr/share/applications/adt.desktop:

[Desktop Entry]
Version=1.0
Name=Android Developer Tools
GenericName=Android Developer Tools
Comment=Android Developer Tools
Exec=/opt/adt-bundle-linux/eclipse/eclipse
Terminal=false
Icon=/opt/adt-bundle-linux/eclipse/configuration/org.eclipse.osgi/bundles/2/2/.cp/icons/android-64.png
Type=Application
Categories=Programming;
MimeType=text/x-java-source;

Notes:

  1. You must be superuser to write to this location.
  2. There are two references to the installation directory.
  3. There should be a local version of /usr/share/applications/, but I couldn’t find it.
  4. The 64-bit version depends on a 32-bit libncurses package.

At this point ADT should be registered with the gnome activity screen.