如何彻底卸载Android的工作室? [英] How to completely uninstall Android Studio?

查看:257
本文介绍了如何彻底卸载Android的工作室?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近下载了Android的工作室在我的MacBook Pro和我每次我打开它搞砸它。它给我的错误插件和其他几个错误。我需要从我的Mac完全卸载它。我试图从我的Mac删除它,然后再重新安装,如果你要做的第一时间,但什么也没做,现在出现了同样的问题。

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.

如何管理完全删除并重新安装一个新的?

推荐答案

从终端执行这些命令

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*

如果您想删除所有的项目

rm -Rf ~/AndroidStudioProjects

删除相关的Gradle文件(缓存和放大器;包装)

to remove gradle related files (caches & wrapper)

rm -Rf ~/.gradle

使用下面的命令来删除所有的 Android的虚拟设备(自动真空淀积系统)和*的.keystore。
注意:此文件夹被他人使用Android的IDE一样,所以,如果你还在使用其他的IDE你可能不希望删除此文件夹)

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

删除Android SDK工具

to delete Android SDK tools

rm -Rf ~/Library/Android*

编辑:添加删除所有的Andr​​oid Studio的日志。由于玉龙比利亚雷亚尔!

编辑:添加删除〜.android文件夹中。感谢randallmeadows!

编辑:反斜杠&放大器;删除缓存文件夹。克里斯托夫曾格!

这篇关于如何彻底卸载Android的工作室?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆