Installing Android Developer Tools on Debian Testing

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.

Advertisements

Tags: , , , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: