I have upgraded the version of Glide from 4.0.0-RC0 to 4.4.0. But it is giving me an error saying
Error:Module 'com.github.bumptech.glide:glide:4.4.0' depends on one or more Android Libraries but is a jar
It is not saying which jar or any other information. Does anybody know how to fix this? I am also attaching the entries for Glide in my build.gradle
compile 'com.github.bumptech.glide:glide:4.4.0'
compile 'com.github.bumptech.glide:okhttp3-integration:4.4.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
compile 'com.github.bumptech.glide:annotations:4.4.0'
EDIT : I am using the support library version 27.0.1
I faced the same issue, but using this solved it :
compile('com.github.bumptech.glide:glide:4.4.0@aar') {
transitive = true;
}
To pull in the annotations module which contains @GlideModule, you have to use transitive = true
This is may be glide issue so, I will prefer to don't update glide to com.github.bumptech.glide:glide:4.4.0
till now. you can use older version like com.github.bumptech.glide:glide:4.3.1
or com.github.bumptech.glide:glide:4.3.0
or com.github.bumptech.glide:glide:4.2.0
you can read more about these issues on
issue 2318
issue 2319
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With