我无法在我的项目中导入Library jaydeepw/picker(https://github.com/jaydeepw/poly-picker),其错误为
“未能解决:com.github.jay深处:poly:1.0.23”
这是我的build.gradle文件
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'
}发布于 2018-01-26 22:53:51
该版本似乎在jitpack.io上不可用(构建失败)。这个问题指的是同样的问题。
您仍然可以使用可用的v1.0.22:
compile 'com.github.jaydeepw:poly-picker:v1.0.22'或者克隆项目,构建它&将生成的aar文件包含在项目中
https://stackoverflow.com/questions/48459063
复制相似问题