Android Studio Package

Available translations: de

Android Studio Package is an utility to build Debian package from an Android Studio binary distribution archive. First such an Android Studio IDE archive file must be downloaded from https://developer.android.com/studio/index.html. After that the Debian package can be built with the following command

~$ make-aspkg android-studio.zip

The Debian package is stored in the current directory.

Problems when building on 32-bit Debian

To build Android Studio on 32-bit Debian the 64-bit version of libc6 library is required. Otherwise following error will occur dpkg-shlibdeps: error: couldn't find library libc.so.6. Use Multiarch capabilities of Debian and enable installation of 64-bit packages:

~# dpkg --add-architecture amd64

Install 64-bit version of libc6

~# apt-get install libc6:amd64

Then building will succeed on 32-bit Debian.

Installation of Android Studio

If Android Studio should be installed on 64-bit Debian some 32-bit libraries are required. It is recommended to use Multiarch capabilities of Debian and enable installation of 32-bit packages:

~# dpkg --add-architecture i386

Then install Android Studio

~# dpkg -i android-studio_*.deb

Finally install missing dependencies

~# apt-get install -f

Please remind that Android Studio requires at least Java 8.

Installation

After adding the PM Code Works APT repository to the system package sources, the package can be installed using following command:

~# apt-get install android-studio-package

Install missing dependencies:

~# apt-get install -f