Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firebase_mlkit_language clashes with firebase_ml_vision #40

Open
josedihego opened this issue Nov 9, 2020 · 4 comments
Open

firebase_mlkit_language clashes with firebase_ml_vision #40

josedihego opened this issue Nov 9, 2020 · 4 comments

Comments

@josedihego
Copy link

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

@josedihego
Copy link
Author

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

@niypoo
Copy link

niypoo commented Dec 8, 2020

No support , No help!!
Is there any package offer ml language ?

@assylman
Copy link

@josedihego hi. Have you solved this your issue?

@josedihego
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants