./gradlew <anything> 之后无法通知项目评估侦听器

时间:2021-07-19 12:51:07

标签: android react-native gradle react-native-android gradlew

我尝试为我的应用构建一个发布 AAB。
因为那不起作用,我用 npm 重新安装了我的整个 node_modules 并清除了所有 gradle 缓存。之后,我再次尝试 ./gradlew assembleRelease 没有成功。甚至 ./gradlew build./gradlew clean 也不起作用。 每次我收到此错误消息时:

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
   > 'org.gradle.api.file.RegularFileProperty org.gradle.api.file.ProjectLayout.fileProperty(org.gradle.api.provider.Provider)'

我只找到了 this 个没有帮助的帖子。我还重新安装了 29.0.2 构建工具,但没有成功。 Gradle 也只下载非推荐的 28.0.2 构建工具和 Android SDK 30

版本:
摇篮:6.3
科特林:1.3.70
常规:2.5.10
Ant:Apache Ant(TM) 1.10.7 版本 2019 年 9 月 1 日编译
JVM:13.0.6(Azul Systems, Inc. 13.0.6+5-MTS)
操作系统:Mac OS X 10.16 x86_64
注册护士:0.63.2

如果这有什么不同,我也被逐出世博会。 在今天之前,我能够构建一个发布版 APK/AAB。

有什么需要请留言

提前致谢!

0 个答案:

没有答案