1、卸载Android Studio,在终端(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*
2、删除Projects(慎重啊,Android项目)
rm -Rf ~/AndroidStudioProjects
3、删除grade
rm -Rf ~/.gradle
4、卸载Android Virtual Devices(AVDs) and *.keystore.(如果有其他IDE需要用到,请不要删除)
rm -Rf ~/.android
5、删除Android SDK Tools(如果有其他IDE需要用到,请不要删除)
rm -Rf ~/Library/Android*
参考地址:
https://blog.csdn.net/elonspace/article/details/51800949