Skip to content

Instantly share code, notes, and snippets.

@ahmedselim2017
Last active March 14, 2019 07:52
Show Gist options
  • Save ahmedselim2017/f91050d6a1da74a319bbbd19eb636470 to your computer and use it in GitHub Desktop.
Save ahmedselim2017/f91050d6a1da74a319bbbd19eb636470 to your computer and use it in GitHub Desktop.
# Deletes the Android Studio application
# Note that this may be different depending on what you named the application as, or whether you downloaded the preview version
rm -Rf /Applications/Android\ Studio.app
# Delete All Android Studio related preferences
# The asterisk here should target all folders/files beginning with the string before it
rm -Rf ~/Library/Preferences/AndroidStudio*
# Deletes the Android Studio's plist file
rm -Rf ~/Library/Preferences/com.google.android.*
# Deletes the Android Emulator's plist file
rm -Rf ~/Library/Preferences/com.android.*
# Deletes mainly plugins (or at least according to what mine (Edric) contains)
rm -Rf ~/Library/Application\ Support/AndroidStudio*
# Deletes all logs that Android Studio outputs
rm -Rf ~/Library/Logs/AndroidStudio*
# Deletes Android Studio's caches
rm -Rf ~/Library/Caches/AndroidStudio*
# Deletes older versions of Android Studio
rm -Rf ~/.AndroidStudio*
rm -Rf ~/.android
rm -Rf ~/Library/Android*
echo 'Done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment