{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/3331","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/3331/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/3331/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/3331/events","html_url":"https://github.com/bumptech/glide/issues/3331","id":364210318,"node_id":"MDU6SXNzdWUzNjQyMTAzMTg=","number":3331,"title":"IllegalArgumentException: Unable to find GlideModule implementation when proguarded","user":{"login":"ishaangarg","id":10320019,"node_id":"MDQ6VXNlcjEwMzIwMDE5","avatar_url":"https://avatars2.githubusercontent.com/u/10320019?v=4","gravatar_id":"","url":"https://api.github.com/users/ishaangarg","html_url":"https://github.com/ishaangarg","followers_url":"https://api.github.com/users/ishaangarg/followers","following_url":"https://api.github.com/users/ishaangarg/following{/other_user}","gists_url":"https://api.github.com/users/ishaangarg/gists{/gist_id}","starred_url":"https://api.github.com/users/ishaangarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishaangarg/subscriptions","organizations_url":"https://api.github.com/users/ishaangarg/orgs","repos_url":"https://api.github.com/users/ishaangarg/repos","events_url":"https://api.github.com/users/ishaangarg/events{/privacy}","received_events_url":"https://api.github.com/users/ishaangarg/received_events","type":"User","site_admin":false},"labels":[{"id":739139624,"node_id":"MDU6TGFiZWw3MzkxMzk2MjQ=","url":"https://api.github.com/repos/bumptech/glide/labels/stale","name":"stale","color":"e28966","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-26T21:02:05Z","updated_at":"2018-10-17T00:37:01Z","closed_at":"2018-10-11T12:23:19Z","author_association":"NONE","body":"<!--\r\nPlease fill in the below fields with some data to help us best diagnose the issue.\r\nThe more specific you are, the better! You can help a lot by not making us ask these questions.\r\nFeel free to remove any irrelevant parts that you know are not related to the issue.\r\nAny HTML comment like this will be stripped when rendering markdown, no need to delete them.\r\n-->\r\n\r\n\r\n<!-- What version of Glide you're running, for example: 3.7.1 | 3.8.0-SNAPSHOT | 4.0.0-SNAPSHOT\r\nIt's essentially the version number from your build.gradle: `dependencies { compile '...:x.y.z' }` -->\r\n**Glide Version**: 4.8.0\r\n\r\n<!-- Do you use any integration library, like OkHttp3 or Volley? For example:\r\nFails to display with stock networking, but works with okhttp3-1.4.0 -->\r\n**Integration libraries**: glide:okhttp3-integration:4.8.0\r\n\r\n<!-- What devices you managed to get the issue to come up on? For example:\r\nfails on Galaxy S4/GT-I9500 4.4.2, works fine on Nexus 6P 5.1 and Genymotion Nexus 5 5.0.1 -->\r\n**Device/Android Version**: fails on Note8/Note9/Emulator Nexus5 API21\r\n\r\n<!-- Share the details of your issue in prose, detailing actual and expected behavior. It also helps if you give some info **why** you are trying to do something as opposed to **what** is not working. -->\r\n**Issue details / Repro steps / Use case background**: Initial Glide load fails when proguarded\r\n\r\n<!--\r\nWhat is the error message that you got in the log?\r\nYou can find some help on diagnosing issues here: https://github.com/bumptech/glide/wiki/Debugging-and-Error-Handling\r\n-->\r\n**Stack trace / LogCat**:\r\n```ruby\r\njava.lang.RuntimeException: Unable to start activity \r\njava.lang.IllegalArgumentException: Unable to find GlideModule implementation\r\n        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2974)\r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3059)\r\n        at android.app.ActivityThread.-wrap11(Unknown Source:0)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1724)\r\n        at android.os.Handler.dispatchMessage(Handler.java:106)\r\n        at android.os.Looper.loop(Looper.java:164)\r\n        at android.app.ActivityThread.main(ActivityThread.java:7002)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)\r\n     Caused by: java.lang.IllegalArgumentException: Unable to find GlideModule implementation\r\n        at com.bumptech.glide.module.ManifestParser.parseModule(ManifestParser.java:69)\r\n        at com.bumptech.glide.module.ManifestParser.parse(ManifestParser.java:47)\r\n        at com.bumptech.glide.Glide.initializeGlide(Glide.java:230)\r\n        at com.bumptech.glide.Glide.initializeGlide(Glide.java:221)\r\n        at com.bumptech.glide.Glide.checkAndInitializeGlide(Glide.java:182)\r\n        at com.bumptech.glide.Glide.get(Glide.java:166)\r\n        at com.bumptech.glide.Glide.getRetriever(Glide.java:680)\r\n        at com.bumptech.glide.Glide.with(Glide.java:732)\r\n        at in.lubble.app.GlideApp.with(GlideApp.java:104)\r\n        at in.lubble.app.MainActivity.onCreate(MainActivity.java:129)\r\n        at android.app.Activity.performCreate(Activity.java:7258)\r\n        at android.app.Activity.performCreate(Activity.java:7249)\r\n        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1221)\r\n        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)\r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3059) \r\n        at android.app.ActivityThread.-wrap11(Unknown Source:0) \r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1724) \r\n        at android.os.Handler.dispatchMessage(Handler.java:106) \r\n        at android.os.Looper.loop(Looper.java:164) \r\n        at android.app.ActivityThread.main(ActivityThread.java:7002) \r\n        at java.lang.reflect.Method.invoke(Native Method) \r\n        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441) \r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) \r\n     Caused by: java.lang.ClassNotFoundException: com.bumptech.glide.integration.okhttp3.OkHttpGlideModule\r\n        at java.lang.Class.classForName(Native Method)\r\n        at java.lang.Class.forName(Class.java:453)\r\n        at java.lang.Class.forName(Class.java:378)\r\n        at com.bumptech.glide.module.ManifestParser.parseModule(ManifestParser.java:67)\r\n        at com.bumptech.glide.module.ManifestParser.parse(ManifestParser.java:47) \r\n        at com.bumptech.glide.Glide.initializeGlide(Glide.java:230) \r\n        at com.bumptech.glide.Glide.initializeGlide(Glide.java:221) \r\n        at com.bumptech.glide.Glide.checkAndInitializeGlide(Glide.java:182) \r\n        at com.bumptech.glide.Glide.get(Glide.java:166) \r\n        at com.bumptech.glide.Glide.getRetriever(Glide.java:680) \r\n        at com.bumptech.glide.Glide.with(Glide.java:732) \r\n        at in.lubble.app.GlideApp.with(GlideApp.java:104) \r\n        at in.lubble.app.MainActivity.onCreate(MainActivity.java:129) \r\n        at android.app.Activity.performCreate(Activity.java:7258) \r\n        at android.app.Activity.performCreate(Activity.java:7249) \r\n        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1221) \r\n        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927) \r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3059) \r\n        at android.app.ActivityThread.-wrap11(Unknown Source:0) \r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1724) \r\n        at android.os.Handler.dispatchMessage(Handler.java:106) \r\n        at android.os.Looper.loop(Looper.java:164) \r\n        at android.app.ActivityThread.main(ActivityThread.java:7002) \r\n        at java.lang.reflect.Method.invoke(Native Method) \r\n        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441) \r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) \r\n     Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.bumptech.glide.integration.okhttp3.OkHttpGlideModule\" on path: DexPathList[[zip file \"/data/app/in.lubble.app-8EnY0F_AIcvToay-aKJL9w==/base.apk\"],nativeLibraryDirectories=[/data/app/in.lubble.app-8EnY0F_AIcvToay-aKJL9w==/lib/arm64, /system/lib64, /vendor/lib64]]\r\n        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)\r\n        at java.lang.Class.classForName(Native Method) \r\n        at java.lang.Class.forName(Class.java:453) \r\n        at java.lang.Class.forName(Class.java:378) \r\n        at com.bumptech.glide.module.ManifestParser.parseModule(ManifestParser.java:67) \r\n        at com.bumptech.glide.module.ManifestParser.parse(ManifestParser.java:47) \r\n        at com.bumptech.glide.Glide.initializeGlide(Glide.java:230) \r\n        at com.bumptech.glide.Glide.initializeGlide(Glide.java:221) \r\n        at com.bumptech.glide.Glide.checkAndInitializeGlide(Glide.java:182) \r\n        at com.bumptech.glide.Glide.get(Glide.java:166) \r\n        at com.bumptech.glide.Glide.getRetriever(Glide.java:680) \r\n        at com.bumptech.glide.Glide.with(Glide.java:732) \r\n        at in.lubble.app.GlideApp.with(GlideApp.java:104) \r\n        at in.lubble.app.MainActivity.onCreate(MainActivity.java:129) \r\n        at android.app.Activity.performCreate(Activity.java:7258) \r\n        at android.app.Activity.performCreate(Activity.java:7249) \r\n        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1221) \r\n        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927) \r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3059) \r\n        at android.app.ActivityThread.-wrap11(Unknown Source:0) \r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1724) \r\n        at android.os.Handler.dispatchMessage(Handler.java:106) \r\n        at android.os.Looper.loop(Looper.java:164) \r\n        at android.app.ActivityThread.main(ActivityThread.java:7002) \r\n        at java.lang.reflect.Method.invoke(Native Method) \r\n        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441) \r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) \r\n```\r\n\r\nMultidex is Disabled\r\n\r\nProguard config:\r\n\r\n```\r\n-dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder\r\n-dontwarn okio.**\r\n-dontwarn javax.annotation.Nullable\r\n-dontwarn javax.annotation.ParametersAreNonnullByDefault\r\n-keep public class * extends com.bumptech.glide.module.AppGlideModule\r\n-keep class com.bumptech.glide.GeneratedAppGlideModuleImpl\r\n# for firebase auth\r\n-keepattributes *Annotation*\r\n```"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/430448716","html_url":"https://github.com/bumptech/glide/issues/3331#issuecomment-430448716","issue_url":"https://api.github.com/repos/bumptech/glide/issues/3331","id":430448716,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDQ0ODcxNg==","user":{"login":"sjudd","id":1627211,"node_id":"MDQ6VXNlcjE2MjcyMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1627211?v=4","gravatar_id":"","url":"https://api.github.com/users/sjudd","html_url":"https://github.com/sjudd","followers_url":"https://api.github.com/users/sjudd/followers","following_url":"https://api.github.com/users/sjudd/following{/other_user}","gists_url":"https://api.github.com/users/sjudd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjudd/subscriptions","organizations_url":"https://api.github.com/users/sjudd/orgs","repos_url":"https://api.github.com/users/sjudd/repos","events_url":"https://api.github.com/users/sjudd/events{/privacy}","received_events_url":"https://api.github.com/users/sjudd/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T00:37:01Z","updated_at":"2018-10-17T00:37:01Z","author_association":"MEMBER","body":"It looks like you're missing:\r\n\r\n`-keep public class * implements com.bumptech.glide.module.GlideModule`\r\n\r\nSee http://bumptech.github.io/glide/doc/download-setup.html#proguard.\r\n\r\nAlternatively disable manifest parsing if you have an AppGlideModule anyway: http://bumptech.github.io/glide/doc/configuration.html#manifest-parsing"}}
{"actor":{"display_login":"sjudd"}}