Build Failing with an exception when adding firebase_auth or cloud_firestore in the pubspec.yaml file (firebase_core is working):
问题 From the run terminal of android studio: FAILURE: Build failed with an exception. Where: Script 'C:\Flutter\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 362 What went wrong: A problem occurred configuring project ':cloud_firestore_web'. Could not find method implementation() for arguments [project ':firebase_core'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Try: Run with --stacktrace option to get the stack trace. Run with