Android Studio:ExternalSystemException [英] Android Studio: ExternalSystemException

查看:77
本文介绍了Android Studio:ExternalSystemException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Android Studio中打开一个项目(Android应用程序)时,它显示externalSystemException. (我从github存储库中将此Android应用程序克隆到了我的系统中).

When I am opening a project (Android Application) in my Android Studio, it shows externalSystemException. (I cloned this android application into my system from a github repo).

事件日志: ExternalSystemException: 无法保存 '/home/prasang/Privly/privly-android/local.properties'/home/rest路径 app/-android/local.properties(权限被拒绝)

Event Log: ExternalSystemException: Unable to save '/home/prasang/Privly/privly-android/local.properties'/home/rest path of app/-android/local.properties (Permission denied)

推荐答案

我不确定您使用的是Mac还是Windows计算机,但此修复程序适用于Mac.

I'm not sure if you are using a mac or a windows machine but this fix will work for Mac.

在Mac OS Sierra上从github复制github的android过渡教程的副本后,我遇到了相同的错误:

I encountered the same error after cloning a copy of the android transition tutorial from github here on Mac OS Sierra:

https://github.com/lgvalle/Material-Animations

要更正错误,您必须进入Mac并找到克隆代码的文件夹.然后,您将需要获取信息".

To correct the error, you have to go into your mac and find the folder where you had clone the code. Then you will need to "Get Info".

现在,更改底部的权限,以便系统,员工和所有人都可以读取和写入"文件夹.然后尝试再次在android studio中打开存储库,您会发现错误已消失.

Now, change the permission at the bottom so that the system, staff and everyone can "Read and Write" to the folder. Then try opening the repo in android studio again and you will find that the error has disappeared.

这篇关于Android Studio:ExternalSystemException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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