ImagePicker
ImagePicker copied to clipboard
Failed to resolve: com.github.dhaval2404:imagepicker:2.1
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
Add jitpack.io to setting. gradle then sync your project
Please use this
implementation 'com.github.Dhaval2404:ImagePicker:v2.1'
@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
@Dhaval2404 I added this implementation 'com.github.Dhaval2404:ImagePicker:v2.1'
And it's still failing to resolve.
@Dhaval2404 I added this implementation 'com.github.Dhaval2404:ImagePicker:v2.1'
And it's still failing to resolve. In settings.gradle Add this -> maven { url "https://jitpack.io" } And in build.gradle (Module level) Add this -> implementation 'com.github.Dhaval2404:ImagePicker:v2.1' If error still persists add screen shot of the error
@nirmal700 Please make sure jcenter() repo is at the end.
allprojects {
repositories {
google()
maven { url 'https://jitpack.io' }
jcenter() //Keep jcenter() in the last
}
}
Add jitpack.io to setting. gradle then sync your project
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon maven { url "https://jitpack.io" } } }
Add this -> implementation 'com.github.Dhaval2404:ImagePicker:v2.1'
this is working
adding ' maven { url "https://jitpack.io/" } ' to dependencyResolutionManagement{} block of 'settings.gradle' file worked.
Please use this
implementation 'com.github.Dhaval2404:ImagePicker:v2.1'
When using Azure-feed, this is how it can be resolved
I added maven { url "https://jitpack.io/" } and I'ts working but then I added implementation("com.github.dhaval2404:imagepicker:2.1") And it gives me the following warning: Failed to resolve: com.github.dhaval2404:imagepicker:2.1 Please help me, I'm using Intellij idea
pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon maven { url 'https://jitpack.io' }
}
}
rootProject.name = "Profile_Picture" include ':app'
This is working 101 % , and the above is my settings.gradle and put the dependencies in build.gradle
I have tried a lot but this one is working , I have tried more than 100 times