If you're using Ubuntu 24.04 and want to start developing for Android, this guide will help you quickly set up Android Studio.
Android Studio is an IDE for building Android apps. It includes a code editor, debugger, device emulator, and everything else a developer might need.
But first, make sure Java is installed — Android Studio won’t run without it. Open a terminal and enter:
sudo apt update && sudo apt upgrade -y
sudo apt install default-jdk -y
java -version
If the Java version appears, you’re good to go.
Now download Android Studio from theofficial website — make sure to choose the Linux version. After downloading, go to the folder with the archive and extract it:
tar -xvf android-studio-*-linux.tar.gz
sudo mv android-studio /opt/
To launch Android Studio:
cd /opt/android-studio/bin
./studio.sh
The setup wizard will open. Just follow the prompts — the installer will download the SDK and everything you need automatically.
Kotlin support is built into Android Studio, but you need to explicitly enable it when creating a new project.
1. On the start screen, click New Project.
2. Select a template — for example, Empty Activity.
3. In the project settings, choose Kotlin as the language.
Android Studio will then generate the project, fetch the required dependencies, and open the interface with your files.