Click here to Skip to main content
15,886,639 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i tried testing an app in my emulator i saw the below error message in my android studio

Error:Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'.
> Could not resolve com.github.bumptech.glide:compiler:4.6.1.
  Required by:
      project :app
   > Could not resolve com.github.bumptech.glide:compiler:4.6.1.
      > Could not get resource 'https://dl.google.com/dl/android/maven2/com/github/bumptech/glide/compiler/4.6.1/compiler-4.6.1.pom'.
         > Could not GET 'https://dl.google.com/dl/android/maven2/com/github/bumptech/glide/compiler/4.6.1/compiler-4.6.1.pom'.
            > dl.google.com
   > Could not resolve com.github.bumptech.glide:compiler:4.6.1.
      > Could not get resource 'https://jcenter.bintray.com/com/github/bumptech/glide/compiler/4.6.1/compiler-4.6.1.pom'.
         > Could not GET 'https://jcenter.bintray.com/com/github/bumptech/glide/compiler/4.6.1/compiler-4.6.1.pom'.
            > jcenter.bintray.comError:Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'.


What I have tried:

I tried searching google and stackoverflow
Posted
Updated 30-Mar-18 19:09pm
v2
Comments
wseng 31-Mar-18 1:08am    
post your glide here
Member 10627743 31-Mar-18 7:53am    
dependencies {

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
// Glide library
compile 'com.github.bumptech.glide:glide:4.6.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
// Volley library
compile 'com.android.volley:volley:1.0.0'
// Recyclerview Library
compile 'com.android.support:recyclerview-v7:27.0.2'

}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900