How To Install Android Studio on Linux Mint 19 “Tara”
How To Install Android Studio on Linux Mint 19 “Tara”
Check whether your CPU supports Intel VT / AMD SVM or not.
Output:
If the above output is non-zero, then your machine has Intel or AMD virtualization support.
Install KVM and other utilities
sudo apt install -y qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils wget unzip
Add your user "thierry" ( or your own user name) to the KVM group.
sudo usermod -aG kvm thierry sudo usermod -aG libvirt thierry
Reboot the machine or Log out and log in back.
Install 32-bit libraries
Use the apt command install 32-bit libraries.
sudo apt update sudo apt install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 wget
Install Java
Android Studio requires Oracle JDK 8 (not OpenJDK) to function correctly.
First, add Oracle JDK repository on the system.
sudo add-apt-repository ppa:webupd8team/java
Then, install the Oracle JDK 8 using the following command.
sudo apt update sudo apt install -y oracle-java8-installer sudo apt install -y oracle-java8-set-default
During the Oracle JAVA installation, you would need to accept the Oracle License agreement
Check the java version
java -version
Output:
java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Install Android Studio on Linux Mint 19
Use the given link to download the latest version of Android Studio (Recommended Method).
Move the downloaded archive to /opt or to your desired directory and extract it there using the unzip command.
sudo mv android-studio-ide-*-linux.zip /opt/ cd /opt/ sudo unzip /opt/android-studio-ide-*-linux.zip
Can be done by the UI.
Change the permission of extracted files.
sudo chown -R raj:raj android-studio
Start the Android Studio by executing studio.sh from the bin directory.
cd /opt/android-studio/bin/ ./studio.sh
Symlink the executable to /bin directory so that you can quickly start Android Studio using android-studio command irrespective of the current working directory.
sudo ln -sf /opt/android-studio/bin/studio.sh /bin/android-studio
Create Android Studio Launcher Icon on Linux Mint 19
To make Android Studio available in your list of applications, select Tools >> Create Desktop Entry from the Android Studio menu bar.
Access Android Studio
Sources de l'article :
How To Install Android Studio on Linux Mint 19 “Tara”
Inscrivez-vous au blog
Soyez prévenu par email des prochaines mises à jour
Rejoignez les 4 autres membres