2

*Error:(30, 13) Failed to resolve: com.github.bumptech.glide:glide:4.0.0-RC0**

Show in File

Show in Project Structure dialog

I am using android studio version 2.3.2

PEHLAJ
  • 9,980
  • 9
  • 41
  • 53
R.H
  • 318
  • 2
  • 12

2 Answers2

1

add your 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'
}

Or 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>
sasikumar
  • 12,540
  • 3
  • 28
  • 48
  • Getting 2 errors now 1(Error:Failed to resolve: annotationProcessor Open File) 2( Error:(36, 13) Failed to resolve: com.github.bumptech.glide:glide:4.0.0-RC0 Show in FileShow in Project Structure dialog) – R.H May 20 '17 at 19:21
1

Try different version

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'
PEHLAJ
  • 9,980
  • 9
  • 41
  • 53