First I tried to update glide to 4.6.0 but it had some errors then I decided to downgrade it to 4.4.0 but now it's even not building the app. I tried to search a lot of questions both in SO and in github but I couldn't find any . Please help to fix my error.
Error:
Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'. java.io.IOException: Can't write [C:\Users\Srinu\Infinity\app\build\intermediates\multi-dex\debug\componentClasses.jar] (Can't read [C:\Users\Srinu.gradle\caches\modules-2\files-2.1\com.github.bumptech.glide\glide\4.4.0\7d55ca453af56b7f7e6b494c1781755d89047d4f\glide-4.4.0.jar(;;;;;;**.class)] (Duplicate zip entry [glide-4.4.0.jar:com/bumptech/glide/util/Synthetic.class]))
Gradle Dependencies:
compile('com.github.bumptech.glide:glide:4.4.0@aar') { transitive = true;//I saw this in a question but even it couldn't solve the issue } annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0' compile 'com.github.bumptech.glide:annotations:4.4.0'