How to completely uninstall Android Studio on macOS and OS X

Zach Zach (236)
2 minutes

Sometimes Android Studio gets corrupted, and when you try to compile your Android application (or launch a virtual device), everything goes haywire. Often, the solution is to completely uninstall and reinstall Android Studio.

This guide will show you how to completely clean uninstall Android Studio from macOS and OS X.

Posted in these interests:
h/macos54 guides
h/osx38 guides
h/androidstudio1 guide

Navigate to Applications > Utilities > Terminal.

Carefully run the following commands; this will remove Android Studio and its related preferences and library files. This is the best way to completely uninstall Android Studio and prep it for reinstallation, if desired.

Delete Mac Android Studio itself:

rm -Rf /Applications/Android\
rm -Rf ~/Library/Preferences/AndroidStudio*
rm -Rf ~/Library/Preferences/*
rm -Rf ~/Library/Preferences/*
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
rm -Rf ~/.AndroidStudio*

Delete all Android Studio projects (optional):

rm -Rf ~/AndroidStudioProjects

Delete Gradle files/cache:

rm -Rf ~/.android

Delete SDK tools:

rm -Rf ~/Library/Android*

That's it. You're done!

Apple hid the battery percentage option starting with Big Sur. Here's where it is.
Zach Zach (236)
5 minutes

I always keep an eye on my MacBook's battery percentage—especially since, as a developer, I run a lot of resource-intensive applications.