How to Completely Uninstall Android Studio on Mac OS?
Use terminal to remove all the folders and files related to Android Studio on Mac OS.
Installing Android Studio on macOS is very easy. It is just a dmg file. We can simply drag and drop to the Application folder.
However, uninstalling is no that easy. Recently I updated my Android Studio using the check update feature. It throws me an error after updating Android Studio. So I didn’t find a way to fix the error. So I completely removed the Android Studio from my mac using the below command on my terminal.
Delete the Android Studio application using the below command.
rm -Rf /Applications/Android\ Studio.app
Delete other files and folders related to Android Studio.
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 ~/Library/Logs/Google/AndroidStudio*
To remove all projects created by using Android Studio.
rm -Rf ~/AndroidStudioProjects
I hope this tutorial will be very helpful.
Thank you for reading.