

Since Android Studio can be finicky about its Java, we’re going to ignore these options and install the Oracle JDK with the following commands: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer This is Ubuntu giving you hints on how to set up one of the default Java engines on your machine. If you don’t have Java installed, the output should be something like: Command ‘java’ not found, but can be installed with: sudo apt install default-jre sudo apt install openjdk-11-jre-headless sudo apt install openjdk-8-jre-headless To check the version of Java currently running on your machine, use the terminal to run the following command: java -version

To run Android Studio smoothly on your machine, you will need:

Like with most actions and applications on any Linux machine, there are multiple ways to install Android Studio on Ubuntu. This guide will walk you through the installation process of Android Studio on Ubuntu 16.04/17.10/18.04, and is suited for users of all levels. If you’re an Ubuntu user developing an Android app, or an open source enthusiast looking to tinker with the OS without bricking your device, the official Android Studio IDE (integrated development environment) from Google is a piece of software you need to install.
