*错误:(30,13)无法解决:com.github.bumptech.glide:glide:4.0.0-RC0 **
在文件中显示
在“项目结构”对话框中显示
我正在使用android studio版本2.3.2
答案 0 :(得分:1)
添加您的Gradle
repositories {
mavenCentral() // jcenter() works as well because it pulls from Maven Central
}
dependencies {
compile 'com.github.bumptech.glide:glide:4.0.0-RC0'
compile 'com.android.support:support-v4:25.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC0'
}
或Maven:
<dependency>
<groupId>com.github.bumptech.glide</groupId>
<artifactId>glide</artifactId>
<version>4.0.0-RC0</version>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>support-v4</artifactId>
<version>r7</version>
</dependency>
<dependency>
<groupdId>com.github.bumptech.glide</groupId>
<artifactId>compiler</artifactId>
<version>4.0.0-RC0</version>
<optional>true</optional>
</dependency>
答案 1 :(得分:1)
尝试不同的版本
compile 'com.github.bumptech.glide:glide:3.8.0'
OR
compile 'com.github.bumptech.glide:glide:3.5.2'
compile 'com.android.support:support-v4:22.0.0'