Skip to content

Instantly share code, notes, and snippets.

@nimeshpahadi
Created March 3, 2017 13:03
Show Gist options
  • Save nimeshpahadi/357fe35b68fe441b7cd8a24725cd561f to your computer and use it in GitHub Desktop.
Save nimeshpahadi/357fe35b68fe441b7cd8a24725cd561f to your computer and use it in GitHub Desktop.
install android-studio with jdk 8
# installing java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
# installing android studio
# download android-studio from https://developer.android.com/studio/index.html
# extract the archive file into an appropriate location
sudo unzip android-studio-ide-141.2178183-linux.zip -d /opt
# to launch Android Studio
# navigate
cd /opt/android-studio/bin
# execute
./studio.sh
# create desktop file
# create new file androidstudio.desktop
nano ~/.local/share/applications/androidstudio.desktop
# add follwing lines
[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Exec="/opt/android-studio/bin/studio.sh" %f
Icon=/opt/android-studio/bin/studio.png
Categories=Development;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=android-studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment