如何重置 Android Studio
我想将 Android Studio 0.2.13
重置为默认状态.这意味着重置所有设置,删除所有项目,所有 gradle 文件,使其像全新安装一样.我必须遵循哪些步骤才能实现这一目标?
I want to reset Android Studio 0.2.13
to the default state. That means reset all settings, remove all projects, all gradle files so that it would act like a fresh installation. What steps do I have to follow to achieve this?
我只知道如何在 Windows 上执行此操作(但在任何操作系统上都应该类似,您只需要自己找到正确的位置 - 谷歌搜索会帮助解决这个问题).
I only know how to do this on Windows (but it should be similar on any OS, you will just need to find the correct location yourself - google search would help with that).
在 Windows 上:
转到您的用户文件夹 - 在 Windows 7/8 上:
Go to your User Folder - on Windows 7/8 this would be:
[SYSDRIVE]:\Users\[您的用户名]
(例如 C:\Users\JohnDoe\
)
在此文件夹中应该有一个名为 .AndroidStudioBeta
或 .AndroidStudio
的文件夹(注意开头的句点 - 因此在某些操作系统上它会被隐藏).
In this folder there should be a folder called .AndroidStudioBeta
or .AndroidStudio
(notice the period at the start - so on some OSes it would be hidden).
更新
现在,Android Studio 设置位于:
Now, Android Studio settings is at:
C:\Users\\AppData\Roaming\Google\.AndroidStudio4.X
删除此文件夹(或者更好的是,将其移至备份位置 - 这样您可以在出现问题时将其退回).
Delete this folder (or better yet, move it to a backup location - so you can return it if something goes wrong).
这应该会将您的 Android Studio 设置重置为默认值.
This should reset your Android Studio settings to default.