Android Studio by Google packaged for Ubuntu
Visit the official website here
Based upon the work of @PaoloRotolo
Download pre-built packages from our PPA
Run configure with the parameters for the package you want to build:
./android-studio-configure (focal|jammy|noble|oracular|plucky) [--stable] [--metapackage] [--major 3.6]
E.g. to build the latest (unstable) version of Android Studio for Ubuntu noble:
./android-studio-configure noble
To build the latest stable version of Android Studio for Ubuntu noble including a metapackage that depends on this stable release:
./android-studio-configure noble --stable --metapackage
To build the latest release of Android 3.6 for Ubuntu noble:
./android-studio-configure noble --major 3.6
To clean the environment after configuration:
./android-studio-configure clean
After configuring you can build the package as usual with debuild
or pbuilder
in the android-studio
subdirectory
Q: When I click on the icon, Android Studio just doesn't start.
A: Did you install Java? Try to install Java Development Kit with sudo apt install default-jdk
.
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)
[...]