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.

  • Type "Command+option+Space Bar"
  • Type "Android Studio"
  • Click '+' button just below search box. 图片
  • A new bar will come up "Kind" is "any" click on "kind" --> Others --> search for "system file" and select that by putting a tick mark.! And click on Ok. 图片
  • Then select "are included" from the drop down menu !
  • Then you get a lot of system file that need to be deleted to complete the fully un-installation of any app.
  • Click "command+A" to select all files and take a look on the file remove is some video files are also included. And click "command + Delete"
  • Empty your trash. Done

  • 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

    上一篇: 将Macbook Pro连接到Thunderbolt和戴尔显示器(使用HDMI)

    下一篇: 如何完全卸载Android Studio?