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.

Failed to resolve: com.github.dhaval2404:imagepicker:2.1

See original GitHub issue

i added

buildscript {

    repositories {
        google()
        mavenCentral()
        maven { url "https://jitpack.io" }


    }

but i still got this error Failed to resolve: com.github.dhaval2404:imagepicker:2.1

the other version 1.7.1 works fine

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
AndroidGammacommented, Dec 10, 2021

@Dhaval2404 In Settings.gradle file Add this -> maven { url “https://jitpack.io” } And in build.gradle (Module level) Add this -> implementation ‘com.github.Dhaval2404:ImagePicker:v2.1’

It will resolve Thanks @Dhaval2404 @nirmal700

2reactions
Dhaval2404commented, Dec 17, 2021

@nirmal700 Please make sure jcenter() repo is at the end.

allprojects {

    repositories {
        google()
        maven { url 'https://jitpack.io' }
        jcenter() //Keep jcenter() in the last
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Failed to resolve: com.github while adding my library ...
The problem was that I needed to release the repository on github by following a few more steps. go to release tab; Create...
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