-
-
Save tahmidsadik/f08356d14a85d898299a to your computer and use it in GitHub Desktop.
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! | |
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
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.
Thanks alot! worked! :)
Thanks for this resource 👍
Thanks alot ! it worked on me.
Thanks a lot! It worked on me!
+1
thanks, also it worked for me
Great! That worked perfectly; I have now a clean and working install of AS3. (The upgrade from AS2 went pretty wrong.) Many thanks!
Thanks for these great tips !!
An update for 2018 would be great ...
Worked for me! Thanks a lot!
thanks!
Thanks @manuelcoppotelli !
👍
Thank you
Work for me!! Great
Thank you!
Thanks!!!!!!! 👍
Most Helpful. :-D
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
Thank you!
Helped me to free 20GB of disk space! Thanks.
Hi. Thank you for this list.
How about?
~/Library/Saved\ Application\ State/com.google.android.studio.savedState
Hi. Thank you for this list.
How about?
~/Library/Saved\ Application\ State/com.google.android.studio.savedState
no "Saved Application" folder in Library here....
where to configure Android Studio Cache folder path?
Super helpful, thanks! Android Studio is a massive disk hog.
Many thx! The folder ~/Library/Android is really large
Thanks a lot! It saved me 20GB free space!!
Thank you very much... I managed to free up at least 30 GB :)
Thank you!