barcode_scan2
barcode_scan2 copied to clipboard
Replace jCenter? Can't build app with jCenter
BUG REPORTS WITHOUT PROVIDING THESE INFORMATIONS WILL BE CLOSED DIRECTLY. DON'T REMOVE THE SECTIONS!
Describe the bug Hi, thanks for the package
I see this is still using jCenter() which has been deprecated https://blog.gradle.org/jcenter-shutdown any chance of moving to mavenCentral()?
I can't build my project
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':barcode_scan2'.
> Could not resolve all artifacts for configuration ':barcode_scan2:classpath'.
> Could not download protobuf-gradle-plugin-0.8.18.jar (com.google.protobuf:protobuf-gradle-plugin:0.8.18)
> Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-gradle-plugin/0.8.18/protobuf-gradle-plugin-0.8.18.jar'.
> Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-gradle-plugin/0.8.18/protobuf-gradle-plugin-0.8.18.jar'.
> Read timed out
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':barcode_scan2' of type org.gradle.api.Project.
> Could not get unknown property 'android' for project ':barcode_scan2' of type org.gradle.api.Project.
* 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 10m 0s
To Reproduce Steps to reproduce the behavior:
- Build debug
Expected behavior Can build an app
Screenshots
Logs
Environment (please complete the following information):
- [ ] Android? Version: min SDK 21
- Version of
barcode_scan
= 4.2.1 - Output of
flutter --version
:
Flutter 2.10.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision db747aa133 (9 months ago) • 2022-02-09 13:57:35 -0600
Engine • revision ab46186b24
Tools • Dart 2.16.1 • DevTools 2.9.2