Scene introduction:
Since the project uses the Module method to build the project, some module versions may not be unified, resulting in version conflicts, as shown in the figure.
java.lang.NoSuchMethodError: No virtual method load(Ljava/io/File;)Lcom/bumptech/glide/DrawableTypeRequest; in class Lcom/bumptech/glide/RequestManager; or its super classes (declaration of 'com.bumptech.glide.RequestManager' appears in /data/app/wansun.visit.android-1/base.apk:classes12.dex)
Check that the main project is using: compile 'com.github.bumptech.glide:glide:3.7.0'
The module uses compile 'com.github.bumptech.glide:glide:4.9.0'
The solution is to uniformly upgrade to compile 'com.github.bumptech.glide:glide:4.9.0' to solve the problem