Skip to content

Instantly share code, notes, and snippets.

@yuchen-xue
Created July 12, 2019 04:07
Show Gist options
  • Save yuchen-xue/e694f440cc866c80231285ebcf42fde5 to your computer and use it in GitHub Desktop.
Save yuchen-xue/e694f440cc866c80231285ebcf42fde5 to your computer and use it in GitHub Desktop.
Remove Android Studio on MacOS
# https://stackoverflow.com/questions/17625622/how-to-completely-uninstall-android-studio/18458893#18458893
# with small modification
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm -Rf ~/Library/Preferences/com.google.android.*
rm -Rf ~/Library/Preferences/com.android.*
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Android/*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
rm -Rf "~/Library/Saved Application State/com.google.android.studio.savedState"
rm -Rf ~/.AndroidStudio*
# if you would like to delete all projects:
rm -Rf ~/AndroidStudioProjects
# to remove gradle related files (caches & wrapper)
rm -Rf ~/.gradle
# delete all Android Virtual Devices(AVDs) and *.keystore.
rm -Rf ~/.android
# to delete Android SDK tools
rm -Rf ~/Library/Android*
# Emulator Console Auth Token
rm -Rf ~/.emulator_console_auth_token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment