Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to completely remove Android Studio from Mac OS X
How to Completely Remove Android Studio
Execute these commands from the terminal
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
if you would like to delete all projects:
rm -Rf ~/AndroidStudioProjects
to remove gradle related files (caches & wrapper)
rm -Rf ~/.gradle
use the below command to delete all Android Virtual Devices(AVDs) and *.keystore. note: this folder is used by others Android IDE as well, so if you still using other IDE you may not want to delete this folder)
rm -Rf ~/.android
to delete Android SDK tools
rm -Rf ~/Library/Android*
edit: added remove all Android Studio's logs. thanks Eron Villarreal!
edit: added remove ~.android folder. thanks randallmeadows!
@amarti65

This comment has been minimized.

Copy link

amarti65 commented Jan 26, 2016

Helpful for where to start looking, however my folders were named differently.

@venelrene

This comment has been minimized.

Copy link

venelrene commented Mar 29, 2016

Thank you!

@manuelcoppotelli

This comment has been minimized.

Copy link

manuelcoppotelli commented Apr 5, 2016

If you want to go for a complete uninstall you have to uninstall the HAXM, so:

cd ~/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/
chmod +x silent_install.sh
./silent_install.sh -u
@ecols33

This comment has been minimized.

Copy link

ecols33 commented May 17, 2016

If you want to go for a complete uninstall you have to uninstall the HAXM, so:

cd ~/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/
chmod +x silent_install.sh
./silent_install.sh -u

by executing rm -Rf ~/Library/Android* the HAXM files inside that folder are removed.

@jesushilarioh

This comment has been minimized.

Copy link

jesushilarioh commented Dec 18, 2016

Thanks alot! worked! :)

@rockchalkwushock

This comment has been minimized.

Copy link

rockchalkwushock commented Apr 29, 2017

Thanks for this resource 👍

@eminsonerturk

This comment has been minimized.

Copy link

eminsonerturk commented Aug 26, 2017

Thanks alot ! it worked on me.

@Hanslen

This comment has been minimized.

Copy link

Hanslen commented Aug 31, 2017

Thanks a lot! It worked on me!

@Natelegreat1

This comment has been minimized.

Copy link

Natelegreat1 commented Sep 8, 2017

+1

@fasilminale

This comment has been minimized.

Copy link

fasilminale commented Oct 25, 2017

thanks, also it worked for me

@gulliet

This comment has been minimized.

Copy link

gulliet commented Nov 6, 2017

Great! That worked perfectly; I have now a clean and working install of AS3. (The upgrade from AS2 went pretty wrong.) Many thanks!

@smhk

This comment has been minimized.

Copy link

smhk commented Dec 22, 2017

Thanks for these great tips !!

An update for 2018 would be great ...

@rodrigo98rm

This comment has been minimized.

Copy link

rodrigo98rm commented Jan 2, 2018

Worked for me! Thanks a lot!

@victoriahawkins

This comment has been minimized.

Copy link

victoriahawkins commented Jan 5, 2018

thanks!

@camden-kid

This comment has been minimized.

Copy link

camden-kid commented Feb 23, 2018

@hanksudo

This comment has been minimized.

Copy link

hanksudo commented Mar 20, 2018

👍

@richardleandro1

This comment has been minimized.

Copy link

richardleandro1 commented Apr 26, 2018

Thank you

@litoarias

This comment has been minimized.

Copy link

litoarias commented May 17, 2018

Work for me!! Great

@Brandons42

This comment has been minimized.

Copy link

Brandons42 commented Jun 13, 2018

Thank you!

@ghost

This comment has been minimized.

Copy link

ghost commented Jun 20, 2018

Thanks!!!!!!! 👍

@ValiantCuriosity

This comment has been minimized.

Copy link

ValiantCuriosity commented Jul 9, 2018

Most Helpful. :-D

@endersaka

This comment has been minimized.

Copy link

endersaka commented Jul 14, 2018

HAXM can be fully removed even if you have already deleted "~/Library/Android*". This is the official guide: https://github.com/intel/haxm/wiki/Installation-Instructions-on-macOS#Removing_Intel_HAXM
The command is:
sudo /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh

@Akramz

This comment has been minimized.

Copy link

Akramz commented Jul 26, 2018

Thank you!

@rathorevaibhav

This comment has been minimized.

Copy link

rathorevaibhav commented Aug 25, 2018

Helped me to free 20GB of disk space! Thanks.

@evgeniyd

This comment has been minimized.

Copy link

evgeniyd commented Sep 18, 2018

Hi. Thank you for this list.

How about?

~/Library/Saved\ Application\ State/com.google.android.studio.savedState
@zj299792458

This comment has been minimized.

Copy link

zj299792458 commented Oct 30, 2018

Hi. Thank you for this list.

How about?

~/Library/Saved\ Application\ State/com.google.android.studio.savedState

no "Saved Application" folder in Library here....

@evandrix

This comment has been minimized.

Copy link

evandrix commented Dec 14, 2018

where to configure Android Studio Cache folder path?

@scottjmaddox

This comment has been minimized.

Copy link

scottjmaddox commented Jan 14, 2019

Super helpful, thanks! Android Studio is a massive disk hog.

@zehengdong

This comment has been minimized.

Copy link

zehengdong commented Feb 18, 2019

Many thx! The folder ~/Library/Android is really large

@endshonme

This comment has been minimized.

Copy link

endshonme commented Jan 8, 2020

Thanks a lot! It saved me 20GB free space!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.