Android Studio 因出现错误“Files Locked"而无法打开 [英] Android Studio failed to open by giving error "Files Locked"
问题描述
运行一次成功后,Android Studio 无法打开.错误是:
After running once successfully, Android Studio is getting failed to open. The error is:
C:\Program Files (x86)\Android\android-studio\system\caches 中的文件被锁定.Android Studio 将无法启动.
Files in C:\Program Files (x86)\Android\android-studio\system\caches are locked. Android Studio will not be able to start.
有人找到解决办法了吗?
Did any one find its solution?
推荐答案
已在 Windows 7 中解决:
Solved in Windows 7:
转到安装 android-studio 的文件夹.(例如
C:\Program Files (x86)\Android\android-studio
)
现在上一个文件夹.(即 C:\Program Files (x86)\Android
)
Now go up one folder. (i.e. C:\Program Files (x86)\Android
)
右键单击 android-studio
文件夹并转到属性.
Right click on the android-studio
folder and go to Properties.
在属性窗口中,转到安全标签.
点击编辑按钮.
将打开一个新窗口,在此处单击用户(您的用户名或您的组名)
A new window will open, here you click the Users (your-username-or-your-group-name)
从下面的列表中,勾选完全控制前面的允许.
From the list below, check Allow in front of Full control.
按确定,然后再按确定.
现在您可以轻松使用 Android Studio 而不是每次都以管理员身份运行".
Now you can use Android Studio easily instead of "Running it As Administrator" every time.
这篇关于Android Studio 因出现错误“Files Locked"而无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!