You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce:
set up dart file from example, start with cloud_firestore - apk generation successful
add flutter_youtube: ^2.0.0 to pubspec, get dependencies and execute - errors; no apk created
Launching lib/testFireBase.dart on Redmi Note 6 Pro in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:preDebugBuild'.
Android dependency 'androidx.lifecycle:lifecycle-runtime' has different version for the compile (2.0.0) and runtime (2.1.0) classpath. You should manually set the same version via DependencyResolution
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.
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1
Please ensure plugin is compatible with cloud_firestore as it will be useful for apps that use cloud_firestore and play youtube videos!
Thank you for fixing the bug.
Best Regards!
The text was updated successfully, but these errors were encountered:
this is my pubsec.yml
for AndroidX incompatibilities you have to use ,
multiDexEnabled true, in build.gradle
& android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536M , in gradle.properties
i hope it is solve your problem
Steps to reproduce:
set up dart file from example, start with cloud_firestore - apk generation successful
add flutter_youtube: ^2.0.0 to pubspec, get dependencies and execute - errors; no apk created
https://codelabs.developers.google.com/codelabs/flutter-firebase/#10
pubspec.yaml
dependencies:
flutter:
sdk: flutter
cloud_firestore: ^0.12.9+3
flutter_youtube: ^2.0.0
Launching lib/testFireBase.dart on Redmi Note 6 Pro in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Execution failed for task ':app:preDebugBuild'.
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 13s
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1
Please ensure plugin is compatible with cloud_firestore as it will be useful for apps that use cloud_firestore and play youtube videos!
Thank you for fixing the bug.
Best Regards!
The text was updated successfully, but these errors were encountered: