ImagePicker icon indicating copy to clipboard operation
ImagePicker copied to clipboard

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

Open profelyas opened this issue 3 years ago • 15 comments

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

profelyas avatar Nov 15 '21 18:11 profelyas

Add jitpack.io to setting. gradle then sync your project

nirmal700 avatar Dec 08 '21 18:12 nirmal700

Please use this implementation 'com.github.Dhaval2404:ImagePicker:v2.1'

Dhaval2404 avatar Dec 09 '21 07:12 Dhaval2404

@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

AndroidGamma avatar Dec 10 '21 08:12 AndroidGamma

@Dhaval2404 I added this implementation 'com.github.Dhaval2404:ImagePicker:v2.1'

And it's still failing to resolve.

akinsete avatar Dec 15 '21 02:12 akinsete

@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 avatar Dec 15 '21 06:12 nirmal700

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

allprojects {

    repositories {
        google()
        maven { url 'https://jitpack.io' }
        jcenter() //Keep jcenter() in the last
    }
}

Dhaval2404 avatar Dec 17 '21 05:12 Dhaval2404

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

FaisalThreestops avatar Nov 06 '22 10:11 FaisalThreestops

adding ' maven { url "https://jitpack.io/" } ' to dependencyResolutionManagement{} block of 'settings.gradle' file worked.

SiddiquiUbaid avatar Dec 07 '22 01:12 SiddiquiUbaid

Please use this implementation 'com.github.Dhaval2404:ImagePicker:v2.1'

When using Azure-feed, this is how it can be resolved

omaraladin avatar Apr 11 '23 20:04 omaraladin

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

PedroDev11 avatar Jan 22 '24 01:01 PedroDev11

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

ARIBFIB avatar Feb 18 '24 05:02 ARIBFIB

Screenshot 2024-02-18 104927

ARIBFIB avatar Feb 18 '24 05:02 ARIBFIB

I have tried a lot but this one is working , I have tried more than 100 times

ARIBFIB avatar Feb 18 '24 05:02 ARIBFIB