Below is how to uninstall Android Studio I learned from this question.
rm -Rf /Applications/Android\ Studio.app
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*
If I do the first line above, I get
-bash: /Applications/Android Studio.app: No such file or directory
Also, I searched "library" folder, but it doesn't exist. So I went to "libraries" folder, and that one doesn't include preferences.
Why is it, and how can I uninstall Android Studio completely? Many thanks.