NOTICE: THIS PROJECT IS NO LONGER SUPPORTED.
Please consider using ubuntu-make or mfonville's repo instead.
# Install Ubuntu Make
sudo apt install ubuntu-make
# Install Android Studio
umake android
Android Studio by Google packaged for Ubuntu. Visit the official website here.
Q: I can't correctly build my project on Ubuntu amd64. Even if using a sample project with all default settings.
A: You probably need to install 32-bit compatibility libraries. Open a terminal and run:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 lib32z1-dev
Q: When I click on the icon, Android Studio just doesn't start. A: Did you install Java? Try to install Java 8 from this PPA.
Also, try:
/opt/android-studio/bin/studio.sh
If you have this error, you probably have to install the jdk:
Start Failed: Internal error. Please report to https://code.google.com/p/android/issues
java.lang.NoClassDefFoundError: com.intellij.util.lang.ClassPath
at java.lang.Class.initializeClass(libgcj.so.14)
[...]
Q: Android Studio doesn't appear in Unity's dash / GNOME Overview.
A: I'm currently working on this issue. Meanwhile, you can manually start Android Studio with the following command:
/opt/android-studio/bin/studio.sh
Q: Android Studio looks strange. Some icons and objects are way too small.
A: To fix some of these problems add
-Dhidpi=true
to these files:
/opt/android-studio/bin/studio.vmoptions
/opt/android-studio/bin/studio64.vmoptions