question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not resolve com.github.CanHub:Android-Image-Cropper:3.2.1

See original GitHub issue

Hi @Canato, I’m having the next problem implementing the cropper library, I’m working with the next version: implementation 'com.github.CanHub:Android-Image-Cropper:3.2.1'

But I’m still having the next fail:

Screenshot 2021-07-20 233320

Thank you for your help.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
aemb2084commented, Jul 21, 2021

I have fixed the problem by adding the following line in my gradle:

maven { url 'https://jitpack.io' }

I have confused the repositories and was working with one where the above line is not mentioned.

By the way, thank you very much with the help informing me of the correct implementation of it:

implementation 'com.github.CanHub:Android-Image-Cropper:3.2.1'

Now everything works correctly.

0reactions
Canatocommented, Aug 5, 2021

@zihadrizkyef you don’t have this

  allprojects {
     repositories {
       ....
       maven { url 'https://jitpack.io' }
     }
  }

On your first gradle, need to be in allprojects

Read more comments on GitHub >

github_iconTop Results From Across the Web

expo-image-picker --> Could not resolve com.github.CanHub ...
Summary [stderr] FAILURE: Build failed with an exception. [stderr] * What went wrong: [stderr] Could not determine the dependencies of task ...
Read more >
Getting Failed to resolve: com.github while adding my library ...
Now, I am trying to import it on other project. Following are my gradle files that are not compiling. // Top-level build file...
Read more >
Gradle not able to resolve dependency from private github ...
I am facing the same issue. I am using Bit bucket for private repo. Bitbucket does provide http authentication. When I checked ~.gradle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found