ShiftColorPicker icon indicating copy to clipboard operation
ShiftColorPicker copied to clipboard

Could not resolve uz.shift:colorpicker:0.5

Open XuJian1252878 opened this issue 7 years ago • 4 comments

When I try the gradle sync, the sync operator is always failed. the message is 'Failed to resolve: uz.shift:colorpicker:0.5'.

When I build my project, the log is as following:

Could not resolve all dependencies for configuration ':app:_debugApkCopy'. Could not resolve uz.shift:colorpicker:0.5. Required by: project :app > Could not resolve uz.shift:colorpicker:0.5. > Could not get resource 'http://repo1.maven.org/maven2/uz/shift/colorpicker/0.5/colorpicker-0.5.pom'. > Could not GET 'http://repo1.maven.org/maven2/uz/shift/colorpicker/0.5/colorpicker-0.5.pom'. > repo1.maven.org:80 failed to respond > Could not resolve uz.shift:colorpicker:0.5. > Could not get resource 'http://dl.bintray.com/dasar/maven/uz/shift/colorpicker/0.5/colorpicker-0.5.pom'. > Could not GET 'http://dl.bintray.com/dasar/maven/uz/shift/colorpicker/0.5/colorpicker-0.5.pom'. > dl.bintray.com:80 failed to respond > Could not resolve uz.shift:colorpicker:0.5. > Could not get resource 'http://dl.bintray.com/dasar/maven/uz/shift/colorpicker/0.5/colorpicker-0.5.pom'. > Could not GET 'http://dl.bintray.com/dasar/maven/uz/shift/colorpicker/0.5/colorpicker-0.5.pom'. > dl.bintray.com:80 failed to respond

The log contains the line 'dl.bintray.com:80 failed to respond', is there some wrong with the repository?

XuJian1252878 avatar Dec 02 '17 00:12 XuJian1252878

I try the DASAR/ShiftColorPicker project, and build.gradle is as following:

repositories {
    maven {
        url  "http://dl.bintray.com/dasar/maven"
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:22.2.1'
    compile(group: 'uz.shift', name: 'colorpicker', version: '0.5', ext: 'aar')
}

and also find that

Error:Failed to resolve: uz.shift:colorpicker:0.5

XuJian1252878 avatar Dec 02 '17 00:12 XuJian1252878

same problem here after updating to android studio 4.0

did you find the solution? here back then?

mikzoomjson avatar Jun 18 '20 13:06 mikzoomjson

Downgrade the version of gradle as of now, No proper solution is available.

androidcompanion avatar Aug 29 '20 05:08 androidcompanion

which version would solve this problem.

KunalYadavOfficial avatar Apr 07 '21 08:04 KunalYadavOfficial