It is probably the fastest way for building apps on every kind of Android device. and this brief tutorial shows students and new users how to install it on Ubuntu 16.04 | 18.04 and 18.10 systems. If you’re going to be developing Android apps for Android devices, then you may probably want to do it using Android Studio IDE. It works across multiple platforms including, Windows, Mac OS, and Linux. Android Studio features include, code editing, debugging, performance tooling, a flexible build system, and an instant build/deploy and automation which allows you to focus on building great apps. For more about Android Studio, please visit its homepage. To get started with installing Android Studio for Linux on Ubuntu, follow the steps below:

Installing Android Studio via Google Repository

Installing Android Studio via Google repository is the default method. What you do is, download the installer and use it to download all required components for Android Studio. To download and install Android Studio via the Google repository, go to the link below to download the zipped file for Linux systems. Before downloading, you should first install OpenJDK 8 on Ubuntu.  Run the commands below to install Open JDK 8. After that, go to the link below to download it. https://developer.android.com/studio/ When you download using your browser, it should probably be downloaded in the Downloads folder of your home directory. If you want to use the command line, run the commands below to download it into the /temp directory. Remember, at the time of this writing, this ( 3.2.1.0 ) was the latest version. The link might change when a new version is released. Next, run the commands below to extract the downloaded file to the /opt directory. Finally, run the commands below to initiate the installation wizard. That should start up the installation wizard. If this is a new installation, choose not to import settings. Then click Next to continue with the installation wizard. After that, choose the Standard installation and continue. If you’re an advanced user, choose custom and continue. Next, choose the theme you wish to use and continue. Finally, click Finish to begin downloading and installing all packages. this should take a while depending on your internet connection. If you select Custom installation, you’ll choose where to install Android SDK. After a while, Android Studio should be installed and ready to use. the default home directory should be in your home folder or as defined above. To configure Android Studio environment variables on Ubuntu, run the commands below: Then copy and paste these lines below at the top of the file and save. Replace the highlighted text with your name or account name. Save the file.

Install Android Studio via Snap

Another way to get Android Studio installed is via Snap package management. Snaps are containerized software packages that are simple to create and install. They are applications packaged with all their dependencies to run on all popular Linux distributions from a single build which allow them to update automatically and roll back gracefully…. This might be the easiest way to get Android Studio on Linux systems, including Ubuntu. To install, run the commands below and install Snap. Then run the commands below to get Android Studio installed via Snap. When you first launch the app, it will download and install all required packages to get Android Studio working on Ubuntu. Follow the same wizard as above to complete the installation. You may also like the post below: