找不到参数的方法 mavenDeployer()

Ani*_*ain 5 android compiler-errors gradle build.gradle react-native

为什么我的应用程序没有正确安装在我的设备中。

错误:命令失败:gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

失败:构建失败并出现异常。

  • 其中:构建文件 'C:\Users\Aniket\Documents\rust\mobileapp-development-695c58f9c0835c55acd463aabc3eec87b2cbb​​e55\node_modules\react-native-appearance\android\build.gradle' 行:132

  • 出了什么问题:无法确定任务“:app:mergeDebugAssets”的依赖关系。

无法解析配置“:app:debugRuntimeClasspath”的所有依赖项。配置项目“:react-native-appearance”时出现问题。> 在 org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler 类型的存储库容器上找不到参数 [build_1x0u9twqc721dtuhwuvmg7434$_run_closure5$_closure16$_closure18@599e5b40] 的方法 mavenDeployer()。