Deleting previous version folder of android studio

泪湿孤枕 提交于 2019-12-03 06:28:42

问题


After updating Android Studio, I have .AndroidStudio1.3 and .AndroidStudio1.4 folders. If I delete .AndroidStudio1.3 folder, will this cause any problems?


回答1:


No, you're good to go removing the prior version's directory which in this case is the .AndroidStudio1.3 directory.

On a side note, make sure you're importing settings from 1.3 when upgrading to 1.4. That will spare the Android Studio from re-downloading all the existing project dependencies you worked with before.




回答2:


It depends.
Android Studio stores inside these folders the configuration files of the specified version.
You can remove these folders, if you are not using them anymore.

When you install a new version, Android Studio asks you if you want to import the previous settings.

In any case:

.AndroidStudio1.2          Used by Android Studio 1.2
.AndroidStudio1.3          Used by Android Studio 1.3
.AndroidStudio1.4          Used by Android Studio 1.4
.AndroidStudioBeta         Used by Android Studio Beta
.AndroidStudioPreview      Used by Android Studio Preview
.AndroidStudioPreview1.3   Used by Android Studio Preview 1.3



回答3:


TL;DR: No. It will not cause any problems.


Hidden folders in your home directory should contain only application settings. If you remove one, you will simply revert AndroidStudio settings to default.

In this case, you have a separate directory for two versions of AndroidStudio. If you remove .AndroidStudio1.3, you will simply reset settings in 1.3, leaving 1.4 unaffected.

However, you may consider copying settings from 1.3 to 1.4 before removing them.



来源:https://stackoverflow.com/questions/33119039/deleting-previous-version-folder-of-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!