mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 464 forks source link

Execution failed for task ':barcode_scan:extractIncludeDebugProto'. [Bug] #275

Open mohsenuss91 opened 3 years ago

mohsenuss91 commented 3 years ago

i'm trying to use barcode_scan but when I run: flutter run

I've got this error!

Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Running Gradle task 'assembleDebug'...

Running Gradle task 'assembleDebug'...
* What went wrong:
Running Gradle task 'assembleDebug'...
Execution failed for task ':barcode_scan:extractIncludeDebugProto'.
Running Gradle task 'assembleDebug'...
> Could not resolve all files for configuration ':barcode_scan:debugCompileClasspath'.
Running Gradle task 'assembleDebug'...
   > Could not download core.jar (com.google.zxing:core:3.3.3)
Running Gradle task 'assembleDebug'...
      > Could not get resource 'https://jcenter.bintray.com/com/google/zxing/core/3.3.3/core-3.3.3.jar'.
Running Gradle task 'assembleDebug'...
         > Could not GET 'https://jcenter.bintray.com/com/google/zxing/core/3.3.3/core-3.3.3.jar'.
Running Gradle task 'assembleDebug'...
            > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/52.29.71.114, jcenter.bintray.com/18.197.80.201] failed: Connection timed out: connect
Running Gradle task 'assembleDebug'...
   > Could not download protobuf-lite.jar (com.google.protobuf:protobuf-lite:3.0.1)
Running Gradle task 'assembleDebug'...
      > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-lite/3.0.1/protobuf-lite-3.0.1.jar'.
Running Gradle task 'assembleDebug'...
         > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-lite/3.0.1/protobuf-lite-3.0.1.jar'.
Running Gradle task 'assembleDebug'...
            > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/52.29.71.114, jcenter.bintray.com/18.197.80.201] failed: Connection timed out: connect
Running Gradle task 'assembleDebug'...

Running Gradle task 'assembleDebug'...
* Try:
Running Gradle task 'assembleDebug'...
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.
Running Gradle task 'assembleDebug'...

Running Gradle task 'assembleDebug'...
* Get more help at https://help.gradle.org
Running Gradle task 'assembleDebug'...

Running Gradle task 'assembleDebug'...
BUILD FAILED in 5m 46s
Running Gradle task 'assembleDebug'...

Running Gradle task 'assembleDebug'... Done                       349,2s (!)
Exception: Gradle task assembleDebug failed with exit code 1