How to completely uninstall Android Studio?
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?
Execute these commands from the terminal
rm -Rf /Applications/Android Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm -Rf ~/Library/Preferences/com.google.android.*
rm -Rf ~/Library/Preferences/com.android.*
rm -Rf ~/Library/Application Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*
rm -Rf ~/.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*
Emulator Console Auth Token
rm -Rf ~/.emulator_console_auth_token
thanks for commenting and improving this answer: @Eron Villarreal @randallmeadows @Christoph Zenger @Shan Xeeshi
I was also facing same kind of problem on my Macbook Pro. I took these very simple steps and freshly installed Android Studio.
** Link Contains Images, look if facing any problem.
These Very Simple Steps Can Solve Your Problem.
You may also delete gradle file, if you don't use gradle any where else:
rm -Rfv ~/.gradle/
because .gradle folder contains cached artifacts that are no longer needed.
链接地址: http://www.djcxy.com/p/63404.html