-
Notifications
You must be signed in to change notification settings - Fork 21
Description
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'.
In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[19.0.
0]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
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:[email protected].
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