[英]Couldnot update time stamp Error when running 'react-native run-android' in gc.properties ( react-native )
When I am running react-native run-android
it says :当我运行react-native run-android
它说:
FAILURE: Build failed with an exception. FAILURE:构建失败,出现异常。
* What went wrong: Could not update time stamp for /home/userName/Desktop/hello-world/android/.gradle/4.10.2/gc.properties
Upon running --stacktrace
, it shows :运行时--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
. * Exception is: org.gradle.api.UncheckedIOException: Could not update time stamp for /home/userName/Desktop/hello-world/android/.gradle/4.10.2/gc.properties
。
What can be the possible reason of this?这可能是什么原因? I searched it a lot but failed to find a solution.我搜索了很多,但未能找到解决方案。
Solved.解决了。 I deleted gc.properties
and then gave all permissions to my react-native project.我删除了gc.properties
,然后将所有权限授予我的 react-native 项目。 Main problem was related to permissions.主要问题与权限有关。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.