繁体   English   中英

在 gc.properties ( react-native ) 中运行“react-native run-android”时无法更新时间戳错误

[英]Couldnot update time stamp Error when running 'react-native run-android' in gc.properties ( react-native )

当我运行react-native run-android它说:

FAILURE:构建失败,出现异常。

* What went wrong: Could not update time stamp for /home/userName/Desktop/hello-world/android/.gradle/4.10.2/gc.properties

运行时--stacktrace ,它显示:

* Exception is: org.gradle.api.UncheckedIOException: Could not update time stamp for /home/userName/Desktop/hello-world/android/.gradle/4.10.2/gc.properties

这可能是什么原因? 我搜索了很多,但未能找到解决方案。

解决了。 我删除了gc.properties ,然后将所有权限授予我的 react-native 项目。 主要问题与权限有关。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM