【发布时间】:2022-08-10 20:53:03
【问题描述】:
邦直径。 Estou tentando integrar o Firebase no React Native, segui o passo a passo da documentação e quando jogo o comando de expo run:android ele apresenta esse erro:
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file \'G:\\Projetos\\workspace_igniteHelp\\ignite-lab\\android\\build.gradle\' line: 33
* What went wrong:
A problem occurred evaluating root project \'ignite-lab\'.
> Could not find method android() for arguments [build_6htiumqal1f9spt2omnj02f4$_run_closure1$_closure4@493acec6] on object of type org.gradle.api.internal.initialization.DefaultScriptHandler.
* 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
BUILD FAILED in 19s
G:\\Projetos\\workspace_igniteHelp\\ignite-lab\\android\\gradlew.bat exited with non-zero code: 1!
面目全非? =/
标签: android firebase react-native