问题
Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
In Gradle
compile 'com.github.bumptech.glide:glide:4.1.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1'
回答1:
If you use Gradle you can add a dependency on Glide using either Maven Central or JCenter. You will also need to include a dependency on the support library. check documentation here docs
repositories {
mavenCentral()
maven { url 'https://maven.google.com' }
}
dependencies {
compile 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
}
回答2:
Do this-:
compile 'com.github.bumptech.glide:glide:3.7.0'
or
compile 'com.github.bumptech.glide:glide:4.0.0'
If you are using android 3.0 then use this-:
implementation 'com.github.bumptech.glide:glide:4.5.0'
来源:https://stackoverflow.com/questions/48220260/failed-to-find-generatedappglidemodule