Open josedihego opened 3 years ago
I have tried this : googleServices {disableVersionCheck = true} and this: classpath 'com.google.gms:google-services:4.1.0' and nothing has worked. This is a project where I need both firebase_mlkit_language clashes and firebase_ml_vision, without one of them I cannot progress, this is consuming so much time, it has been a battle of versions, but until now nothing has worked. Thank you for any help
No support , No help!! Is there any package offer ml language ?
@josedihego hi. Have you solved this your issue?
@nurassylive, unfortunately no. In the end I had to choose just one of these packages, because I hadn't figure out how to use them together.
firebase_core: ^0.4.0+9 firebase_ml_vision: ^0.9.9 flutter_tts: ^1.3.0 camera: ^0.5.8+11 path_provider: ^1.6.24
problem
firebase_mlkit_language: ^1.1.3
classpath 'com.android.tools.build:gradle:3.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.4'
dependencies{ api 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
___ERROR__ FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Dependency failing: com.google.firebase:firebase-ml-vision:20.0.0 -> com.google.firebase:firebase-ml-common@[19.0.0], bu t firebase-ml-common version was 22.0.0.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art ifact with the issue. -- Project 'app' depends on project 'firebase_ml_vision' which depends onto com.google.firebase:firebase-ml-vision@20.0. 0 -- Project 'app' depends onto com.google.firebase:firebase-ml-common@{strictly 22.0.0} -- Project 'app' depends onto com.google.firebase:firebase-ml-vision@{strictly 20.0.0}
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https:// github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = true }" to your bu ild.gradle file.
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 17s Exception: Gradle task assembleDebug failed with exit code 1