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.yalantis:ucrop:2.2.10. #542

Open
gereedei opened this issue Dec 19, 2024 · 13 comments
Open

Could not resolve com.github.yalantis:ucrop:2.2.10. #542

gereedei opened this issue Dec 19, 2024 · 13 comments

Comments

@gereedei
Copy link

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.github.yalantis:ucrop:2.2.10.
Required by:
project :app > project :image_cropper
> Could not resolve com.github.yalantis:ucrop:2.2.10.
> Could not get resource 'https://www.jitpack.io/com/github/yalantis/ucrop/2.2.10/ucrop-2.2.10.pom'.
> Could not GET 'https://www.jitpack.io/com/github/yalantis/ucrop/2.2.10/ucrop-2.2.10.pom'.
> Read timed out

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

how to get it working?

@kumphol
Copy link

kumphol commented Dec 19, 2024

Same here. I updated version to 8.0.2 and 8.1.0 this error still occurred.

my versions reference.
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.1.1 24B91 darwin-arm64, locale en-TH)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0-rc3)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.2)
[✓] VS Code (version 1.96.1)

@hunterwilhelm
Copy link

hunterwilhelm commented Dec 19, 2024

Same here, downgrading to 7.1.0, edit: it worked!
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.1 24B83 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

@gereedei
Copy link
Author

Same here, downgrading to 8.0.1 [✓] Flutter (Channel stable, 3.27.1, on macOS 15.1 24B83 darwin-arm64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

how did you downgrade to 8.0.1?

@hunterwilhelm
Copy link

hunterwilhelm commented Dec 19, 2024

@gereedei Sadly the downgrade still didn't work. Edit: It did work after I resolved my gradle issues.
But to answer your question, see: https://pub.dev/packages/image_cropper/versions/7.1.0/install

@hnvn
Copy link
Owner

hnvn commented Dec 19, 2024

It's related to fetch data from library repositories which is jitpack.io in this case, I am afraid that we have no solution rather than waiting jitpack.io fixing that issue.
https://github.com/jitpack/jitpack.io/issues

@hunterwilhelm
Copy link

@gereedei Downgrading to 7.1.0 worked!
@hnvn Good to know, thanks

@hnvn
Copy link
Owner

hnvn commented Dec 19, 2024

@hunterwilhelm I think that 7.1.0 works for you because there's a caching of ucrop library in your machine

@gereedei
Copy link
Author

@gereedei Downgrading to 7.1.0 worked! @hnvn Good to know, thanks

how did you downgrade? i had few dependancies error when trying to downgrade to 7. plus it works on ios, and it seems only andriod has this issue

@jaganzutual
Copy link

7.1.0 is not working for me

@Richard-Van-Intania
Copy link

same here

@quyenlv-unicloud
Copy link

jitpack for ucrop up now, issue resolved if you can access https://www.jitpack.io/com/github/yalantis/ucrop/2.2.10/ucrop-2.2.10.pom

but no idea when it down again as it downed 15+ times this year, only solution is uCrop publish to maven central

@hunterwilhelm
Copy link

@hunterwilhelm I think that 7.1.0 works for you because there's a caching of ucrop library in your machine

@hnvn Very plausible, I was on image_cropper: ^1.5.1 before.

@hunterwilhelm
Copy link

@jaganzutual @Richard-Van-Intania @gereedei
image_cropper: ^8.1.0 works now! (because jitpack is operational again)

If anyone has any issues with uCrop, try checking: https://status.jitpack.io/

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

7 participants