Skip to content

Instantly share code, notes, and snippets.

@CraigMorton
Created August 7, 2017 10:38
Show Gist options
  • Save CraigMorton/ae758d653c1bd5e8a6d8e04c61d27f79 to your computer and use it in GitHub Desktop.
Save CraigMorton/ae758d653c1bd5e8a6d8e04c61d27f79 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Uninstall Android Studio
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
#Execute these commands from the terminal
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
# if you would like to delete all projects:
# rm -Rf ~/AndroidStudioProjects
# to remove gradle related files (caches & wrapper)
rm -Rf ~/.gradle
# use the below command to delete all Android Virtual Devices(AVDs) and *.keystore. note: this folder is used by others Android IDE as well, so if you still using other IDE you may not want to delete this folder)
rm -Rf ~/.android
# to delete Android SDK tools
rm -Rf ~/Library/Android*
# Source of info:
# http://stackoverflow.com/questions/17625622/how-to-completely-uninstall-android-studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment