bumptech / glide

An image loading and caching library for Android focused on smooth scrolling
https://bumptech.github.io/glide/
Other
34.67k stars 6.12k forks source link

Unable to find metadata to parse GlideModules #3165

Closed lovezt closed 6 years ago

lovezt commented 6 years ago

I use code in my application: Glide.get(this).register(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory(OkhttpUtils.getOkHttpClient()));

stack info: java.lang.RuntimeException: Unable to create application com.taobao.movie.android.app.home.MovieApplication: java.lang.RuntimeException: Unable to find metadata to parse GlideModules at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4782) at android.app.ActivityThread.access$1700(ActivityThread.java:163) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1522) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:159) at android.app.ActivityThread.main(ActivityThread.java:5541) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:975) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770) Caused by: java.lang.RuntimeException: Unable to find metadata to parse GlideModules at bgq.a(ManifestParser.java:35) at bar.c(Glide.java:187) at bar.a(Glide.java:166) at com.taobao.movie.android.app.home.MovieApplication.onCreate(MovieApplication.java:202) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4779) ... 9 more

phone info: brand:oppo system:android 5.1.1

my glide version is 3.8

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.