Sitemap

Guide to Completely Remove Android Studio from Your Mac

2 min readFeb 20, 2024

--

Are you looking to completely remove Android Studio and all its associated files from your Mac? Whether you’re switching to a different development environment or simply looking to perform a clean uninstall, it’s essential to remove all traces of Android Studio to free up space and ensure a fresh start. In this guide, I’ll walk you through the steps to uninstall Android Studio from your Mac, leaving no remnants behind.

Step 1: Deleting Android Studio Application

Open Terminal on your Mac and execute the following command to delete the Android Studio application from your Applications folder:

rm -Rf /Applications/Android\ Studio.app

Step 2: Removing Preferences and Configuration Files

Next, remove all preferences and configuration files related to Android Studio by executing the following commands.

rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*

Step 3: Deleting Project Files (Optional)

If you wish to delete all projects created in Android Studio, execute the following command:

rm -Rf ~/AndroidStudioProjects

Step 4: Removing Gradle Related Files

Get Hassan Siddique’s stories in your inbox

Join Medium for free to get updates from this writer.

To remove Gradle-related files such as caches and wrapper, run the following command:

rm -Rf ~/.gradle

Step 5: Deleting Android Virtual Devices (AVDs) and *.keystore

Use the below command to delete all Android Virtual Devices (AVDs) and any associated keystore files. Note that this folder may be used by other Android IDEs as well:

rm -Rf ~/.android

Step 6: Uninstalling Android SDK Tools

Finally, remove Android SDK tools by executing the following command:

rm -Rf ~/Library/Android*

By following these steps, you can ensure a complete and thorough uninstallation of Android Studio from your Mac, freeing up valuable disk space and ensuring a clean slate for future development.

Whether you’re transitioning to a different development platform or performing a fresh installation of Android Studio, these steps will help you achieve a clean uninstallation.

--

--