We will install Android studio by snap package. I'll show you how to do it on Debian or Ubuntu.
But first: What is Android Studio?
Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA.
A lot of fancy words.
Android Studio provides a unified environment where you can build apps for Android phones, tablets, Android Wear, Android TV, and Android Auto.
And Snap Package? What is it? Is safe? I can remove if I want to?
Snaps are self-contained applications running in a sandbox with mediated access to the host system, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users.
Is safe as long as you uses the official repository.
Here I'll install the latest version of Android Studio:
Chipmunk | 2021.2.1
To install snaps app, we need Snapd.
Ubuntu
$ sudo apt update
$ sudo apt install snapd
To install Android Studio, just execute this line
$ sudo snap install android-studio –classic
Debian
On Debian 9 and newer, snap can be installed directly from the command line:
$ sudo apt update
$ sudo apt install snapd
$ sudo snap install core
Before install Android Studio, you can search for the latest version with this command:
$ snap find "android-studio"
To install Android Studio, simply use the command:
$ sudo snap install android-studio --classic
The download will start. Upon completion, simply follow the on-screen instructions.
Easy peasy lemon squeezy.
How to Update?
$ sudo snap refresh android-studio –classic
How to Remove?
$ sudo snap remove android-studio –classic
If you have some doubts, text me.
Top comments (2)
There's a deb package on Android Studio website that works flawlessly on Ubuntu.
developer.android.com/studio
It's indicated as for Chrome OS, but it doesn't matter at all.
Thanks :D