Android Studio:外部系统异常 [英] Android Studio: ExternalSystemException

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

问题描述

当我在我的 Android Studio 中打开一个项目(Android 应用程序)时,它显示 externalSystemException.(我从 github repo 将这个 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 此处克隆了 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中打开repo,你会发现错误消失了.

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:外部系统异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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