Получил эту ошибку после добавления firebase_analytics в файл pubsec.yaml.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':firebase_core:compileDebugAidl'.
> The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[16.5.0,16.5.0]], but resolves to 16.0.3. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
* 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 5s
Finished with error: Gradle task assembleDebug failed with exit code 1
это зависимости в pubsec.yaml
dependencies:
firebase_analytics:
cloud_firestore:
graphql_flutter: ^1.0.0
firebase_auth:
firebase_core:
mobx: ^0.1.2
flutter_mobx: ^0.1.1
mobx_codegen: ^0.1.0+1
carousel_pro: ^0.0.13
cupertino_icons: ^0.1.2
flutter:
sdk: flutter
спасибо