I recently downloaded Android Studio on my Macbook Pro and I messed up with it every time I open it. It gives me plugin errors and several other errors. I need to uninstall it completely from my mac. I tried to delete it from my mac and then install it again as if you would do the first time, but it did nothing and now the same problems occur.
How can I manage to remove it completely and install a fresh one again?
Best Answer
Execute these commands in the terminal (excluding the lines with hashtags - they're comments):
If you would like to delete all projects:
To remove gradle related files (caches & wrapper)
Use the below command to delete all Android Virtual Devices(AVDs) and keystores.
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)
To delete Android SDK tools
Emulator Console Auth Token
Thanks to those who commented/improved on this answer!
Notes
rm
are case-sensitive1 (as with most other commands), which means that thef
flag must be in lower case. However, ther
flag can also be capitalised.rm
can be either combined together or separated. They don't have to be combined.What the flags indicate
r
flag indicates that therm
command should-f
flag indicates that therm
command should-