Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace jCenter? Can't build app with jCenter #56

Open
1 task
maruzimuslih opened this issue Oct 31, 2022 · 0 comments
Open
1 task

Replace jCenter? Can't build app with jCenter #56

maruzimuslih opened this issue Oct 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@maruzimuslih
Copy link

maruzimuslih commented Oct 31, 2022

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:

  1. 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

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant