If you are here to learn How to install Android Studio on Ubuntu, then you are at the right place.
If you are building a Hybrid app using Ionic or making an android only app, Android studio is one of the key components to preparing the android build. If after completing your development you are thinking of pushing your app to the play store, Android studio is required to prepare an installation file(apk).
In this article, we will discuss the steps to get Android Studio on Ubuntu.
Let’s see the Steps on How to install Android Studio on Ubuntu.
Step: 1 – Install JDK
JDK is an important prerequisite for installing Android Studio. You can use the below-mentioned command to install JDK on Ubuntu. Do check on the version you might need to install before running this code.
sudo apt install openjdk-11-jdk
Step 2: Verify if JDK installation was successful
After the JDK installation is complete, verify the installation by running the below-mentioned command.
java --version
Step 3: Add android-studio repository
After completing the prerequisite of installing JDK, you have to install the Android Studio repository. This makes use of PPA repository to proceed with the installation procedure.
sudo add-apt-repository ppa:maarten-fonville/android-studio
Step 4: Update System
After installing Android Studio repository, update your system to make sure the commands run from Steps 1- 3 take effect.
sudo apt update
Step 5: Install Android Studion App
After updating your system, you are now ready to install the Android Studio app on your Ubuntu machine. Use the below-mentioned command to start the installation.
sudo apt install android-studio -y
Once the installation is finished you should be able to see the Android Studio app in your application.
We hope this article helped you to answer your question on How to install Android Studio on Ubuntu.