How to Install Android Studio?
Before you try one of the following installation methods, you need to install java on your computer. You can use the links below to install OpenJDK or Oracle JAVA.
[1. Method] Installation Method on Android Studio’s Site
- Download Android Studio for Android version from Android Studio ‘s own site.
- Remove the downloaded zip file to a suitable location for your applications (eg / usr / local / or / opt /for shared users ) for your user profile.
- To start Android Studio, open the terminal and enter the android-studio /bin/directory and run studio.sh.
- A window will appear asking you to import your previous Android Studio settings. Click OK.
- The Android Studio Setup Wizard will help guide you through the installation.
Tip: If you want Android Studio to appear in the list of your apps, select Tools> Create> Desktop Launcher from the menu bar of Android Studio.
The libraries required for 64-bit devices:
If you are using 64-bit Ubuntu, you need some 32-bit libraries. To install these libraries, run the following command at the terminal.
sudo apt-get install libc6: i386 libncurses5: i386 libstdc ++ 6: i386 lib32z1 libbz2-1.0: i386
If you are using 64-bit Fedora, use the following command.
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
[2. Method] Installing Android Studio with SNAP
sudo snap install android-studio --classic
[3. Method] Installing Android Studio with Ubuntu-Make
sudo add-apt-repository ppa: ubuntu-desktop / ubuntu-make
sudo apt update
sudo apt-make install ubuntu
After installing Ubuntu-Make, you can install Android Studio with the following command.
umake android --accept-license
Umake, Android SDK and Android tools will download and install all needed. Also added to the desktop icon.
If you want to uninstall Android Studio, you can use the following umake command.
umake android --remove
[4. Method] Installing Android Studio Using Unofficial PPAs
Note: I haven’t tried the PPAs myself. I have added it as an alternative installation method.
sudo add-apt-repository ppa: Maarten-Fonville / android-studio
sudo apt update
sudo apt install android-studio
sudo apt-add-repository ppa: paolorotolo / android-studio
sudo aptitude update
sudo aptitude install android-studio
If you want to uninstall Android Studio, install PPA Purge first with the command below if it is not installed.
sudo apt-get install ppa-purge
Then run the following commands in the terminal.
sudo apt-get remove android-studio
sudo ppa-purge ppa: paolorotolo / android-studio