Ubuntu 18.10: Install Android Studio 3.2

This article will describe installing Android Studio 3.2.

1 Install Android Studio

Install Android Studio.

#!/bin/sh -e


sudo apt install -y \
     gcc-multilib g++-multilib libc6-dev-i386 qemu-kvm mesa-utils

URL=https://dl.google.com/dl/android/studio/ide-zips/3.2.0.26
wget -q ${URL}/android-studio-ide-181.5014246-linux.zip
sudo unzip -q android-studio-ide-*linux.zip -d /opt/
rm -f android-studio-ide-*-linux.zip

sudo mkdir -p /usr/local/share/applications
cat <<EOF | sudo tee /usr/local/share/applications/android-studio.desktop
[Desktop Entry]
Type=Application
Name=Android Studio
Icon=/opt/android-studio/bin/studio.png
Exec=/opt/android-studio/bin/studio.sh
Terminal=false
Categories=Development;IDE;
EOF

sudo gpasswd -a "${USER}" kvm
sudo reboot

2 Run Android Studio

Run android-studio.desktop at the launcher or run the following command at the terminal.

$ /opt/android-studio/bin/studio.sh

0001_AndroidStudio.png