Ami*_*han 12 android android-studio
When I trying to install Android Studio on my PC so the error occurs it says:
The IDE cannot create the directory. Possible reason: parent directory is read-only or the user lacks necessary permissions.
If you have modified the
idea.config.pathproperty, please make sure it is correct, otherwise, please re-install the IDE.
Location: C:\Users\Acer/.AndroidStudio4.0/config java.nio.file.AccessDeniedException: C:\Users\Acer.AndroidStudio4.0

T-D*_*T-D 17
我在 MacOS 上遇到了同样的问题,所以我认为为像我这样使用 Mac 的人分享解决方案可能会很有用。导航到:/Applications/Android Studio.app/Contents/MacOS,即在终端上执行以下:cd /Applications/Android\ Studio.app/Contents/MacOS然后执行:sudo ./studio。这足以让 IDE 执行一次,以便它可以创建配置文件夹和文件。那么一切都会好起来的。
小智 11
我刚刚在 MacBook 上遇到了这个错误,为了修复它,我 在终端中运行: sudo chmod 777 ~/Library/Application\ Support/Google 。
小智 5
上面的答案帮助我在我的机器上解决了这个问题,但我必须在指定的文件夹中为 Android studio 创建一个目录并给予适当的权限。 脚步
username/Library/Google| 归档时间: |
|
| 查看次数: |
7016 次 |
| 最近记录: |