Linux is a great system that stands out for its security and stability. It is also free and quite efficient in the management of computer resources. That is why, many developers use it for their work, including developers of mobile platforms such as Android. Today, I will show you how to install Android Studio 3.2 on Ubuntu 18.04/18.10.
Android Studio is the official IDE for the development of applications for the Android operating system. Android is present in most cell phones in the world. That’s why developers create their applications for Android, because they know it will be used by millions.
With this in mind, I’ll show you how to install Android Studio on Ubuntu 18.04 and Ubuntu 18.10.
0. Prerequisites
The process is simple, however, it is good to keep in mind that it requires some handling of the terminal and its terminology.
On the other hand, you need a user who has enabled the use of sudo for terminal commands.
Finally you need a computer with Ubuntu 18.04 or Ubuntu 18.10 (BETA) installed. Obvious.
1. Installing Java from Oracle
Android Studio requires java for its operation and therefore I recommend that you install the official version of Java 8. Java 8 is the version that best supports Android Studio and also thanks to Webupd8 ppa installation becomes very simple.
First, open a terminal and run:
:~$ sudo add-apt-repository ppa:webupd8team/java
Next:
:~$ sudo apt-get install oracle-java8-installer
During the process, you will be asked to accept Oracle’s license terms.
And to define this version of Java as the main one, install oracle-java8-set-default
. Run:
:~$ sudo apt install oracle-java8-set-default
In this case it was installed by default.
Then, check the installed Java version.
As you can see, everything is going OK.
2. Install Android Studio
The easiest way to install Android Studio on Ubuntu is through a PPA. With this we make sure to install the latest version available and a simple way.
Open a terminal and run:
:~$ sudo apt-add-repository ppa:maarten-fonville/android-studio
Now, you can install it.
:~$ sudo apt install android-studio
The time it takes depends on your internet speed.
3. Complete the installation
At the end it is necessary to run the wizard to complete the installation. Run:
:~$ /opt/android-studio/bin/studio.sh
Next, you have to specify the type of installation.
In this screen you will be able to choose the theme that android studio will use.
Finally the download of all components will start.
And that’s it.
Conclusion
As you can see, the installation is simple and will depend on your internet connection to ensure that it is done in the shortest time possible.
Tell us, are you an Android developer? how is your experience with Android Studio?
Please spread this article through your social networks.