Skip to content

Instantly share code, notes, and snippets.

@srsandy
Last active February 23, 2021 10:18
Show Gist options
  • Save srsandy/002360a011271832372ab48a75e426a8 to your computer and use it in GitHub Desktop.
Save srsandy/002360a011271832372ab48a75e426a8 to your computer and use it in GitHub Desktop.
Remove everything related to Android and Android Studios on Linux/Mac
#!/bin/bash
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/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
rm -Rf ~/.AndroidStudio*
rm -Rf ~/.gradle
rm -Rf ~/.android
rm -Rf ~/Library/Android*
rm -Rf /usr/local/var/lib/android-sdk/
rm -Rf ~/AndroidStudioProjects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment