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
When I tried to build Flutter APP, still get the below errors, how to fix this?