Last active
February 5, 2022 17:44
-
-
Save oliveira-andre/a3cfb374666b9e0ea9f35c1294afa8ed to your computer and use it in GitHub Desktop.
install android studio on ubuntu
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
| sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 | |
| cd ~/Downloads | |
| wget https://dl.google.com/dl/android/studio/ide-zips/3.6.1.0/android-studio-ide-192.6241897-linux.tar.gz?hl=pt-br | |
| cd /opt/ | |
| sudo mv ~/Downloads/android-studio-ide-192.6241897-linux.tar.gz . | |
| sudo tar -xvf android-studio-ide-192.6241897-linux.tar.gz | |
| sudo rm -rf android-studio-ide-192.6241897-linux.tar.gz | |
| cd ~/.icons | |
| wget -o android-studio.png https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Android_Studio_icon.svg/1024px-Android_Studio_icon.svg.png | |
| cd /usr/share/applications | |
| sudo touch android-studio.desktop | |
| sudo vim android-studio.desktop | |
| # [Desktop Entry] | |
| # Name=Android Studio | |
| # Type=Application | |
| # Exec=/opt/android-studio/bin/studio.sh | |
| # Terminal=false | |
| # Icon=/home/codeman/.icons/android-studio.png | |
| # Comment=Any comment | |
| # NoDisplay=false | |
| # Categories=Development;Mobile | |
| # X-GNOME-Bugzilla-Product=alacarte | |
| vim ~/.zshrc | |
| # export ANDROID_HOME=$HOME/Android/Sdk | |
| # export PATH=$PATH:$ANDROID_HOME/emulator | |
| # export PATH=$PATH:$ANDROID_HOME/tools | |
| # export PATH=$PATH:$ANDROID_HOME/tools/bin | |
| # export PATH=$PATH:$ANDROID_HOME/platform-tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment