zsajjad / react-native-text-detector

Text Detector from image for react native using firebase MLKit on android and Tesseract on iOS
MIT License
221 stars 62 forks source link

Build errors #36

Open sabina-kv opened 3 years ago

sabina-kv commented 3 years ago

Hello, I am having some dependency issues while using this library. Can you let me know what are the requirements for this library to work on an android? I am working on a project built by someone else and previously, it was working properly. I believe the issues came after upgrading the targetSdkVersion to 29.

I get the following error when running on android.


In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[19.0. 2]", 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:20.0.0 -> com.google.android.gms:play-services-vision-co mmon@[19.0.2], but play-services-vision-common version was 19.1.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 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.0} -- Project 'app' depends onto com.google.firebase:firebase-ml-vision@24.1.0 -- 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.0.0}


Please check the attached project level and app level gradle files.

Screenshot 2020-09-21 at 15 37 50 Screenshot 2020-09-21 at 15 43 09