PPA for Android Studio?

Solution 1:

Since no official release yet, I made it for myself (which is 13.10 saucy -- I didn't know will it be compatible with other version of Ubuntu?)

add-apt-repository ppa:neizod/ppa
apt-get update
apt-get install android-studio-installer

This package does not resolve Java dependency, you still need to install it manually. My recommend is to use oracle-java7-installer package from ppa:webupd8team/java.

On installation, it will download zip file which size is approx 400MB, so make sure you have at lease 1GB (2 x 400MB) available. Zip file will be auto-remove after installed.

The program directory will be /usr/lib/android-studio/, only one command export to /usr/bin/ is android-studio, which is symlink to /usr/lib/android-studio/bin/studio.sh. If you need other commands, call it with full path under root role, e.g.

sudo /usr/lib/android-studio/sdk/platform-tools/fastboot

I also put android-studio.desktop into /usr/share/applications/, so another way to start program is to use Unity lens and search for Android Studio (might need a reboot to make it show).

Solution 2:

There is no need of external PPA anymore since Canonical released Ubuntu make that allow an easiest installation of Android Studio:

Installing Ubuntu Make :

For Ubuntu 14.04, 14.10 users :

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make

For Ubuntu 15.04 and up :

Ubuntu make is already in official repositories, run :

sudo apt-get install ubuntu-make

Installing Android Studio :

umake android android-ndk

Uninstall Android Studio :

umake android --remove

Solution 3:

Android Studio, has no ppa available at the moment of writing (10-17-2013), so you are stuck building and installing the Linux package as presented in the installation guide. Of course, if you have the knowledge to create Debian packages, feel free to do so.

Solution 4:

I'm packaging these tools for Gajj Distro, if lauchpad will allocate more space to my repo android studio will be available by the evening.

 sudo add-apt-repository ppa:linuxgndu/gajj-sci

For 14.04 use

 sudo add-apt-repository ppa:linuxgndu/adt-raring


 sudo apt-get update

For Android Developers Tool

  sudo apt-get install adt

For Android Studio

  sudo apt-get install android-studio

You also have to install Android-sdk

  sudo apt-get install android-sdk
  sudo sh /opt/android-sdk/install-sdk

You can also help me testing my package builds, bcz i'm newbie i don't know that much about ppa & packaging.

Solution 5:

The canonical way to install seems to be ubuntu-make https://wiki.ubuntu.com/ubuntu-make