How to force uninstall Android Studio on Mac OS X

Run the following commands in the terminal:

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*
 rm -Rf ~/.gradle
 rm -Rf ~/.android
 rm -Rf ~/Library/Android*
 rm -Rf /usr/local/var/lib/android-sdk/
 rm -Rf ~/.AndroidStudio*

If you would like to delete all projects:

rm -Rf ~/AndroidStudioProjects