簡體   English   中英

使用反應原生 android 時出現 ./gradlew clean 問題

[英]Issue with ./gradlew clean using react native android

在我的應用程序中,我運行cd android然后./gradlew clean

然后我收到BUILD FAILURE錯誤:

FAILURE: Build failed with an exception.

 * What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

 * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

 * Get more help at https://help.gradle.org

固定的。

我將 gradle-wrapper.properties 文件中的distributionUrl的值替換為https\://services.gradle.org/distributions/gradle-6.3-all.zip zipStoreBase=GRADLE_USER_HOME

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM