play-services-plugins icon indicating copy to clipboard operation
play-services-plugins copied to clipboard

Issue eith ml vision latest dependency

Open csharshtiwari opened this issue 6 years ago • 0 comments

Describe the bug When I use the

implementation 'com.google.firebase:firebase-ml-vision:24.1.0' in my android project then I get the following error

In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[19.1. 0]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

Dependency failing: com.google.android.gms:play-services-vision-image-label:18.0.4 -> com.google.android.gms:play-servic es-vision-common@[19.1.0], but play-services-vision-common version was 19.1.2.

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 onto com.google.firebase:firebase-ml-vision@{strictly 24.1.0} -- Project 'app' depends onto com.google.android.gms:play-services-vision-common@{strictly 19.1.2} -- Project 'app' depends onto com.google.android.gms:play-services-mlkit-text-recognition@{strictly 16.1.1} -- Project 'app' depends onto com.google.android.gms:[email protected] -- Project 'app' depends onto com.google.firebase:[email protected] -- Project 'app' depends onto com.google.android.gms:play-services-vision-image-label@{strictly 18.0.4} -- Project 'app' depends onto com.google.android.gms:play-services-vision@{strictly 20.1.2}

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 = false }" to your b uild.gradle file.

Desktop (please complete the following information):

  • Gradle version: latest
  • Android Studio version latest
  • Plugin name and version latest

csharshtiwari avatar Aug 29 '20 07:08 csharshtiwari