簡體   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