


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/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 Once you install the public update, your device is ready to enroll in another beta program.Execute these commands in the terminal (excluding the lines with hashtags - they're comments): # Deletes the Android Studio application Your device will receive an update within 24 hours that will wipe all user data and install the latest stable public version of Android. View devices to find the device you want to switch and click Opt out. This only applies when more than one beta program is available. Important: If, after opting out, you only see one program option to enroll in, you will need to first apply the stable public version (will require a data wipe) in order to see multiple enrollment options. Once you select Opt out, you can immediately select the other program you wish to enroll in.

You can skip installing the stable public version, as it will wipe your device. If multiple programs are available and would like to switch between programs, you’ll first need to opt out your enrolled device before opting it into another program. Once you enroll a device, you’ll see a message indicating which program the device is enrolled in.
