Created
March 3, 2017 13:03
-
-
Save nimeshpahadi/357fe35b68fe441b7cd8a24725cd561f to your computer and use it in GitHub Desktop.
install android-studio with jdk 8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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