wu9007 / qrcode_scanner

🛠 Flutter QR code scanner plugin.
MIT License
358 stars 185 forks source link

Execution failed for task ':qrscan:javaPreCompileDebug'. #93

Open winds1983 opened 3 years ago

winds1983 commented 3 years ago

When I tried to build Flutter APP, still get the below errors, how to fix this?

Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':qrscan:javaPreCompileDebug'.
> Could not resolve all files for configuration ':qrscan:debugCompileClasspath'.
   > Could not download android-zxingLibrary.aar (com.github.leyan95:android-zxingLibrary:0.1.2-PRE)
      > Could not get resource 'https://jitpack.io/com/github/leyan95/android-zxingLibrary/0.1.2-PRE/android-zxingLibrary-0.1.2-PRE.aar'.
         > Could not GET 'https://jitpack.io/com/github/leyan95/android-zxingLibrary/0.1.2-PRE/android-zxingLibrary-0.1.2-PRE.aar'.
            > jitpack.io: Name or service not known
   > Could not download picasso.aar (com.squareup.picasso:picasso:2.71828)
      > Could not get resource 'https://jcenter.bintray.com/com/squareup/picasso/picasso/2.71828/picasso-2.71828.aar'.
         > Could not GET 'https://jcenter.bintray.com/com/squareup/picasso/picasso/2.71828/picasso-2.71828.aar'.
            > jcenter.bintray.com

* 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 3m 55s
Exception: Gradle task assembleDebug failed with exit code 1
dhgavali commented 2 years ago

Hey did you solved this issue? I am also getting same

mohdosman-dev commented 2 years ago

Hey, did anyone solve this issue?

lowwailum123 commented 2 years ago

Also getting the same issue

CarltonK commented 9 months ago

Also getting the same issue