Glide showing error: Failed to find GeneratedAppGlideModule

前端 未结 6 1335
小鲜肉
小鲜肉 2020-12-05 09:37

I am trying to load an image using glide but somehow I can not load the image using glide. As it shows following error:

Failed to find GeneratedAppGli

6条回答
  •  余生分开走
    2020-12-05 10:10

    All above answer is True and work fine

    but i noticed when use #placeholder and #error method the glide work fine with out build GlideModule class as mentioned above

    Example : When use glide like this is not work and give must build GlideModule

    Glide.with(this)
                 .load(uri)
                    .into(imageView);
    

    and this is work fine

    Glide.with(this).load(uri).placeholder(android.R.drawable.progress_indeterminate_horizontal).error(android.R.drawable.stat_notify_error).into(imageView);
    

提交回复
热议问题