![](/img/trans.png)
[英]React-native android error when running the npx react-native run-android command
[英]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.