Created
April 21, 2023 02:52
-
-
Save indyfromoz/4074ab357e0fb168664f3ada8e9b62e2 to your computer and use it in GitHub Desktop.
Clean Android Studio installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deletes the Android Studio application | |
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* | |
rm -Rf ~/Library/Preferences/Google/AndroidStudio* | |
# Deletes Studio's plist file | |
rm -Rf ~/Library/Preferences/com.google.android.* | |
# Deletes Emulator's plist file | |
rm -Rf ~/Library/Preferences/com.android.* | |
# Deletes main plugins | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Application\ Support/Google/AndroidStudio* | |
# Deletes all logs that Android Studio outputs | |
rm -Rf ~/Library/Logs/AndroidStudio* | |
rm -Rf ~/Library/Logs/Google/AndroidStudio* | |
# Deletes Android Studio's caches | |
rm -Rf ~/Library/Caches/AndroidStudio* | |
# Deletes older versions of Android Studio (if any) | |
rm -Rf ~/.AndroidStudio* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment