Here are the steps to completely uninstall Android Studio from a Mac:
- Open Android Studio and close all open projects.
- Open Finder.
- In the Finder menu, select "Applications."
- Find the "Android Studio" icon and drag it to the Trash in the Dock, or right-click and select "Move to Trash."
- Empty the Trash by right-clicking on the Trash icon in the Dock and selecting "Empty Trash."
- Open Terminal.
- Type the following command and press Enter:
- Then, type this command and press Enter:
- Finally, type this command and press Enter:
- Restart your Mac to ensure all changes take effect.
rm -rf ~/.android
rm -rf ~/.AndroidStudio
rm -rf ~/Library/Preferences/AndroidStudio*
After completing these steps, Android Studio should be fully uninstalled from your Mac.