11 C
Texas
angeloma
Senior Writer and partner

How to install Android Studio 3.2 in Ubuntu 18.04/18.10?

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.

- Advertisement -

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

1.- Adding the PPA to install Java
1.- Adding the PPA to install Java

Next:

:~$ sudo apt-get install oracle-java8-installer

2.- Installing the java installer package
2.- Installing the java installer package

During the process, you will be asked to accept Oracle’s license terms.

3.- Accepting Oracle license terms
3.- Accepting Oracle 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

4.- Setting the Oracle Java Version as the default
4.- Setting the Oracle Java Version as the default

In this case it was installed by default.

Then, check the installed Java version.

5.- Showing the java version installed
5.- Showing the java version installed

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

6.- Adding the PPA to install Android Studio
6.- Adding the PPA to install Android Studio

Now, you can install it.

:~$ sudo apt install android-studio

7.- Installing Android Studio from the terminal
7.- Installing Android Studio from the terminal

The time it takes depends on your internet speed.

8.- Installation progress
8.- Installation progress

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

9.-Starting the installation wizard
9.-Starting the installation wizard

Next, you have to specify the type of installation.

10.- Choosing the type of installation
10.- Choosing the type of installation

In this screen you will be able to choose the theme that android studio will use.

11.- Choosing the default theme for Android Studio
11.- Choosing the default theme for Android Studio

Finally the download of all components will start.

12.- Installtion settings
12.- Installtion settings

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.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article