In this guide, we are going to look at how to install Android Studio on Linux Mint 20. Android Studio is the official Integrated Development Environment for developing Android apps and it is based on IntelliJ IDEA. Android Studio offers many more features on top of what IntelliJ IDEA already provides. These features include:
- A unified environment for developing all Android devices
- Extensive testing tools and frameworks
- A flexible Gradle-based build system
- Ability to apply changes to push code and resource changes to a running app without having to restart the app
- A fast and feature-rich emulator
- Provides code changes and Github integration.
- Supports C++ and NDK
- Provides lint tools which help in catching performance, version compatibility, usability ad other problems.
- Support for Google Cloud platform enabling integration of Google Cloud messaging and App Engine.
Installing Android Studio on Linux Mint 20
Before installing Android Studio on Linux Mint 20, install the required dependencies.
First we need to install Java, which is necessary to Android Studio to work properly. Run the below command to install Oracle JDK 11 on Linux Mint 20.
sudo apt install -y openjdk-11-jdk
Install Android Studio on Linux Mint 20
We need to add Android Studio repository to Linux Mint 20 to enable us install Android Studio.
sudo apt-add-repository ppa:maarten-fonville/android-studio
You should see an output as below:
Now update your apt and go ahead to install Android Studio on Linux Mint 20
sudo apt update sudo apt install android-studio
At this point, you have successfully installed Android Studio on Linux Mint 20. Launch Android Studio from your Linux Mint application manager as shown below:
Configure Android Studio on Linux Mint 20
Once you launch, you will see a screen as shown.
For a new installation, select do not import settings and click OK. In the next page, choose to or not to allow Google to collect Android Studio information. The next page presents Android Studio set up wizard as shown.
Click Next and in the next window, you will be prompted to choose Android Studio installation type. Select Standard and click Next
In the next window, select your preferred UI theme and click Next.
Review your Android Studio settings. If satisfied, click Next
In the next page, you can follow instructions to configure hardware acceleration for Android Emulator if your system supports virtual machine acceleration.
Click finish and it will begin installation of Android Emulator, which runs to completion. Click Finish when done.
You will be prompted to start a new Android project as shown
Next, select your project template and click Next
In the next page, configure your project name and location the click finish
Enjoy your Android development!
This has been a step-by-step guide on how to install Android Studio on Linux Mint 20. I hope you have enjoys. Check other guides below: