首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >解决失败:com.github.jaydeepw:picker:1.0.23

解决失败:com.github.jaydeepw:picker:1.0.23
EN

Stack Overflow用户
提问于 2018-01-26 09:56:00
回答 1查看 244关注 0票数 0

我无法在我的项目中导入Library jaydeepw/picker(https://github.com/jaydeepw/poly-picker),其错误为

“未能解决:com.github.jay深处:poly:1.0.23”

这是我的build.gradle文件

代码语言:javascript
复制
apply plugin: 'com.android.application'

android {

compileSdkVersion 26

buildToolsVersion "26.0.2"
defaultConfig {
    applicationId "com.example.sharaddadhich.multipleimages_camera"
    minSdkVersion 17
    targetSdkVersion 26
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

repositories{

maven { url "https://maven.google.com" }
maven { url 'https://repo.commonsware.com.s3.amazonaws.com' }
maven { url 'https://jitpack.io' }
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.github.jaydeepw:poly-picker:1.0.23'
testCompile 'junit:junit:4.12'
}
EN

回答 1

Stack Overflow用户

发布于 2018-01-26 22:53:51

该版本似乎在jitpack.io上不可用(构建失败)。这个问题指的是同样的问题。

您仍然可以使用可用的v1.0.22

代码语言:javascript
复制
compile 'com.github.jaydeepw:poly-picker:v1.0.22'

或者克隆项目,构建它&将生成的aar文件包含在项目中

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48459063

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档