Execute these commands from the terminal
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm -Rf ~/Library/Preferences/com.google.android.*
rm -Rf ~/Library/Preferences/com.android.*| #!/bin/bash | |
| # wget https://gist.github.com/raw/707468/cm-ec2-init.sh && . cm-ec2-init.sh | |
| # Epic CM-on-EC2 Init Script for ami-4a0df923 | |
| # Preemptively agree to the JDK license | |
| echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections | |
| # Get required packages | |
| sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" | |
| sudo aptitude update |
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |