PictureSelector icon indicating copy to clipboard operation
PictureSelector copied to clipboard

android studio3.6.1 使用compile方式添加依赖始终无法同步

Open jiangjunzailushang opened this issue 6 years ago • 8 comments

新建全新项目,使用compile方式添加PictureSelector依赖, 根目录gradle配置: repositories { google() jcenter() maven { url 'https://jitpack.io' } // maven { url 'https://maven.aliyun.com/repository/central' } // maven { url 'https://maven.aliyun.com/repository/google' } // maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } // maven { url 'https://maven.aliyun.com/repository/jcenter' } // maven { url 'https://maven.aliyun.com/repository/public' }
}

app gradle: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

//implementation 'com.github.bumptech.glide:glide:4.11.0'
//annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.5.1'

} 项目始终卡在Gradle:Download picture_library-v2.5.1.pom...。最终显示同步库失败。应该不是网络问题,尝试添加Glide可以正常同步。

jiangjunzailushang avatar Apr 09 '20 07:04 jiangjunzailushang

同上 3.6.2 无法依赖

everyline avatar Apr 10 '20 08:04 everyline

同,最新版的Android Studio无法添加依赖

yeahQing avatar Apr 19 '20 16:04 yeahQing

我使用AndroidStudio 3.6.3可以引入,引入不了翻墙试下

LuckSiege avatar Apr 24 '20 02:04 LuckSiege

不知道为什么最新版的Android Studio无法添加依赖 ERROR: Failed to resolve: com.github.LuckSiege.PictureSelector:v2.5.4:

zhouzhiguang2020 avatar Apr 27 '20 06:04 zhouzhiguang2020

最新版2.5.3

LuckSiege avatar Apr 27 '20 08:04 LuckSiege

ERROR: Failed to resolve: com.github.LuckSiege.PictureSelector:picture_library:v2.5.3 Android Studio 3.6.3

Raiden-Liu avatar May 06 '20 06:05 Raiden-Liu

翻墙切换多个节点也无法解决

Raiden-Liu avatar May 06 '20 06:05 Raiden-Liu

在project下的build.gradle添加如下即可 maven { url 'https://jitpack.io' }

dongliwu520 avatar May 30 '20 08:05 dongliwu520