

Using command line blow: # Deletes the Android Studio application DESCRIPTION section on the manpage for rm (See man rm for more info)įor someone using Android Studio 4.0 or above on MacOS 10.15.1 or above. The f flag indicates that the rm command should-Ī ttempt to remove the files without prompting for confirmation, regardless of the file's permissions.DESCRIPTION section on the manpage for rm (See man rm for more info) The r flag indicates that the rm command should-Ī ttempt to remove the file hierarchy rooted in each file argument.

The flags for rm can be either combined together or separated.However, the r flag can also be capitalised. The flags for rm are case-sensitive 1 (as with most other commands), which means that the f flag must be in lower case.Thanks to those who commented/improved on this answer!

To delete Android SDK tools rm -Rf ~/Library/Android*Įmulator Console Auth Token rm -Rf ~/.emulator_console_auth_token Note: This folder is used by other Android IDEs as well, so if you still using other IDE you may not want to delete this folder) rm -Rf ~/.android Use the below command to delete all Android Virtual Devices(AVDs) and keystores. To remove gradle related files (caches & wrapper) rm -Rf ~/.gradle If you would like to delete all projects: rm -Rf ~/AndroidStudioProjects # Deletes older versions of Android Studio Rm -Rf ~/Library/Caches/Google/AndroidStudio* Rm -Rf ~/Library/Logs/Google/AndroidStudio* # Deletes all logs that Android Studio outputs Rm -Rf ~/Library/Application\ Support/Google/AndroidStudio* Rm -Rf ~/Library/Application\ Support/AndroidStudio* # Deletes mainly plugins (or at least according to what mine (Edric) contains) Rm -Rf ~/Library/Preferences/com.android.* # Deletes the Android Emulator's plist file

# Deletes the Android Studio's plist file Rm -Rf ~/Library/Preferences/Google/AndroidStudio* Rm -Rf ~/Library/Preferences/AndroidStudio* # The asterisk here should target all folders/files beginning with the string before it # Delete All Android Studio related preferences # Note that this may be different depending on what you named the application as, or whether you downloaded the preview version Execute these commands in the terminal (excluding the lines with hashtags - they're comments): # Deletes the Android Studio application
