Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Forked from tahmidsadik/purgeAndroid.txt
Created March 20, 2018 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanksudo/48abe312adb6e885b2bdaa8b4f9cf757 to your computer and use it in GitHub Desktop.
Save hanksudo/48abe312adb6e885b2bdaa8b4f9cf757 to your computer and use it in GitHub Desktop.
How to completely remove Android Studio from Mac OS X
How to Completely Remove Android Studio
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*
edit: added remove all Android Studio's logs. thanks Eron Villarreal!
edit: added remove ~.android folder. thanks randallmeadows!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment