Are you here looking for how to install android studio in Ubuntu? Still, many users feel very comfortable working with Ubuntu so, this specific article is for all Ubuntu lovers and users.
The IDE for Android app development is Android Studio. Many Ubuntu users want to install this software without breaking their operating system or triggering any other problem in their system. Before installing android studio, you need to consider few things like your system compatibility, minimum hardware and software requirements, and other essential factors.
If you are an android developer and love to work in Ubuntu, we have some excellent tips along with the installation process. We will guide you through all the steps to make it easy to install android studio in Ubuntu.
Steps to Install Android Studio in Ubuntu
Overview on Android Studio
Android Studio is a packed cross-platform IDE on developing apps developed by Google for Android devices of all types. It is an Android programming environment based on the JetBrains IntelliJ IDEA software. Android Studio is compatible with Windows, Mac OS, and Linux OS.
In December 2014, the first stable update of Android Studio was released. It took over as the main IDE for android device development from Eclipse Android Development Tools (ADT). Google offers direct downloads of Android Studio and the Software Development Kit.
Requirements for Android Studio in Ubuntu
- Minimum 4 GB of RAM.
- Minimum 8 GB of internal storage.
- Java JDK 6 or later version.
- Java Runtime Environment (JRE).
You cannot just download the android studio setup file and then run it directly on your Ubuntu. If you do so, then you won’t be able to use the android studio. If you want to run an android studio in your system, you need to install a suitable java version and then proceed with the android studio installation part.
Installing Java JDK for Android Studio
Having the right version of java in your system is essential. You can have any JDK version higher than 8, but I will recommend using the latest one supported by your system. If you already have a JDK installed in your system, then you can move to the next step. To check whether you have JDK installed or not, simply type the following command line.
- Java -version
If the system finds the java version in your system, it will show the version name and if not, then the system will say that command java is not found.
Here I will demonstrate you by installing the java 11 version for my ubuntu system. To install this java version, you just need to follow the following lines of command.
- $ sudo apt update
- $ sudo apt install openjdk-11-jdk
- $ java -version
The above given are three commands that you need to use. The first line of command will update the apt package. Then the second line of code allows you to install the JDK package in your system, and to verify that the JDK is installed successfully, the third line of command comes into use.
Installing Android Studio
One of the easiest and best methods is installing android studio by using a snappy packaging system. Open your terminal with the Ctrl+Alt+T keyboard shortcut and type the following line of command to download and install the Android Studio snap kit.
- $ sudo snap install android-studio –classic
After entering the above command, press the enter key, and then it will take some time. After some time, you will have an android studio in your system. You can also download android studio from the android studio official site.
Starting Android Studio in Ubuntu
After having an android studio in your system, you need to make a few settings to use the android studio. In the terminal, just type android-studio to start your android studio. After starting an android studio, a new window form will ask you to import the settings from the previous version.
If this is the first time you can install android studio, you can select the do not import option and then click on the OK button.
After that, you’ll be asked to choose the sort of Android studio setup you want. You’ll probably want to go with the “Standard” option.
The Setup Wizard will download and install the appropriate SDK components after selecting the UI theme in the next step. The process can take some time, depending on your link speed.
This concludes the installation and setup of Android Studio in Ubuntu. You can now play around with your new IDE and get started with your Android designs. You will use this tool to learn more about the capabilities of the Ubuntu operating system.
I hope this article helps you learn more about Android Studio. If you have any problems in the installation process, then let us know in the comment section. We will try our best to help you in this installation process.