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

Could not resolve com.github.scottyab:rootbeer:0.1.0. #40

Open
Natanlimap opened this issue Feb 28, 2023 · 4 comments
Open

Could not resolve com.github.scottyab:rootbeer:0.1.0. #40

Natanlimap opened this issue Feb 28, 2023 · 4 comments

Comments

@Natanlimap
Copy link

For the past few days, I have been unable to build the APK for my application due to the following error:

Could not resolve com.github.scottyab:rootbeer:0.1.0.
Required by:
project :app > project :flutter_jailbreak_detection

I have been using this package for over 8 months without any issues, and the error seems to have appeared out of nowhere. I am currently using the latest version, 1.10.0, but the error also occurs with versions 1.8.0 and 1.9.0. Does anyone know how to resolve this issue? Any help would be greatly appreciated.

Flutter 3.3.10

@jeroentrappers
Copy link
Owner

normally jitpack allows to get that dependency directly from github.

https://jitpack.io/#scottyab/rootbeer/0.1.0

perhaps there was a temporary issue with jitpack.

@Maged12
Copy link

Maged12 commented Mar 3, 2023

change it to com.scottyab:rootbeer-lib:0.1.0 and it will work

@tinu2610
Copy link

my flutter configuration is
Flutter 3.13.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2524052335 (7 weeks ago) • 2023-09-06 14:32:31 -0700
Engine • revision b8d35810e9
Tools • Dart 3.1.1 • DevTools 2.25.0

gradle version
distributionUrl=https://services.gradle.org/distributions/gradle-7.5.1-bin.zip

classpath 'com.android.tools.build:gradle:7.2.2'

I'm getting error
1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.github.scottyab:rootbeer:0.1.0.
Required by:
project :app > project :flutter_jailbreak_detection
> Could not resolve com.github.scottyab:rootbeer:0.1.0.
> Could not get resource 'https://jitpack.io/com/github/scottyab/rootbeer/0.1.0/rootbeer-0.1.0.pom'.
> Could not GET 'https://jitpack.io/com/github/scottyab/rootbeer/0.1.0/rootbeer-0.1.0.pom'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.5.1/userguide/build_environment.html#gradle_system_properties
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

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

Please help to resolve this

@tinu2610
Copy link

change it to com.scottyab:rootbeer-lib:0.1.0 and it will work

I tried but not working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants