1

I forked a public MediaPicker library and forked it on Github. After making some changes to the library, I made a release of the project. I checked JitPack which is showing all ok for the release but I am still unable to import it. Following is the library url for JitPack

https://jitpack.io/#rohankandwal/MediaPicker/2.3.4

I have checked my root Gradle's setting and made sure that I have following lines added-

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

I tried importing the library by using following code -

compile 'com.github.rohankandwal:MediaPicker:2.3.4'

or

compile 'com.github.rohankandwal:libary:2.3.4'

I have also asked another developer to import library but he is also unable to do so, please advice what am I missing ? The Github link to library is https://github.com/rohankandwal/MediaPicker

Rohan Kandwal
  • 9,112
  • 8
  • 74
  • 107

1 Answers1

1

Just replace this from :

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

to:

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

Happy coding!!

Hemant Parmar
  • 3,924
  • 7
  • 25
  • 49