flutter_barcode_scanner icon indicating copy to clipboard operation
flutter_barcode_scanner copied to clipboard

Could not resolve com.google.android.gms:play-services-vision-common:[19.0.0].

Open arftylmz opened this issue 3 years ago • 6 comments
trafficstars

I get this error even though I didn't make any changes when I used it before

Launching lib\main.dart on AOSP on IA Emulator in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.google.android.gms:play-services-vision-common:[19.0.0].
     Required by:
         project :app > project :flutter_barcode_scanner > com.google.android.gms:play-services-vision:19.0.0
      > Failed to list versions for com.google.android.gms:play-services-vision-common.
         > Unable to load Maven meta-data from https://google.bintray.com/exoplayer/com/google/android/gms/play-services-vision-common/maven-metadata.xml.
            > Could not get resource 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-vision-common/maven-metadata.xml'.
               > Could not GET 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-vision-common/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

* 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

BU�LD FAILED in 11s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

arftylmz avatar Dec 01 '21 00:12 arftylmz

i am also facing the same issue any workaround

dsourav avatar Dec 01 '21 03:12 dsourav

same problem here, any solution ?

mariovzc avatar Dec 15 '21 18:12 mariovzc

I am also facing the same problem

Scienticious avatar Dec 24 '21 18:12 Scienticious

Any resolutions yet? still facing the same issue

anandasubedi avatar Dec 30 '21 07:12 anandasubedi

What do we do? this is still not working

crushman1 avatar Jan 10 '22 15:01 crushman1

Use another barcode scanner,

I am also facing the same problem

Scienticious avatar Jan 11 '22 10:01 Scienticious