OpenSUSE Leap 15: Install Android Studio 3.1

Table of Contents

1 Install Android Studio

Install Android Studio with the following script.

#!/bin/sh -e# Install packages for Android Studio.sudo zypper -n in patterns-openSUSE-kvm_server libstdc++6-32bit zlib-devel-32bit wget# Install Android Studio.URL= -q ${URL}/android-studio-ide-173.4819257-linux.zipsudo unzip -q -d /opt/rm -f Create desktop file for Android Studio.sudo mkdir -p /usr/local/share/applicationscat <<EOF | sudo tee /usr/local/share/applications/android-studio.desktop[Desktop Entry]Type=ApplicationName=Android StudioIcon=/opt/android-studio/bin/studio.pngExec=/opt/android-studio/bin/studio.shTerminal=falseCategories=Development;IDE;EOF# Add user to kvm group.sudo gpasswd -a “${USER}” kvm# Reboot for 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/


Android | Linux | SDL - Narrow Escape