{"action":"created","issue":{"url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96","repository_url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx","labels_url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96/comments","events_url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96/events","html_url":"https://github.com/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96","id":336886508,"node_id":"MDU6SXNzdWUzMzY4ODY1MDg=","number":96,"title":"Unable to get provider com.umeng.message.provider.MessageProvider","user":{"login":"qsmaxmin","id":10693530,"node_id":"MDQ6VXNlcjEwNjkzNTMw","avatar_url":"https://avatars1.githubusercontent.com/u/10693530?v=4","gravatar_id":"","url":"https://api.github.com/users/qsmaxmin","html_url":"https://github.com/qsmaxmin","followers_url":"https://api.github.com/users/qsmaxmin/followers","following_url":"https://api.github.com/users/qsmaxmin/following{/other_user}","gists_url":"https://api.github.com/users/qsmaxmin/gists{/gist_id}","starred_url":"https://api.github.com/users/qsmaxmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qsmaxmin/subscriptions","organizations_url":"https://api.github.com/users/qsmaxmin/orgs","repos_url":"https://api.github.com/users/qsmaxmin/repos","events_url":"https://api.github.com/users/qsmaxmin/events{/privacy}","received_events_url":"https://api.github.com/users/qsmaxmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-29T07:04:11Z","updated_at":"2018-07-02T02:58:06Z","closed_at":null,"author_association":"NONE","body":"集成友盟的push报的错误：\r\n java.lang.RuntimeException: Unable to get provider com.umeng.message.provider.MessageProvider: java.lang.ClassNotFoundException: Didn't find class \"com.umeng.message.provider.MessageProvider\" on path: DexPathList[[zip file \"/data/app/com.font-Y8BElA2AAV3nu9I6s-w_9A==/base.apk\"],nativeLibraryDirectories=[/data/app/com.font-Y8BElA2AAV3nu9I6s-w_9A==/lib/arm, /data/app/com.font-Y8BElA2AAV3nu9I6s-w_9A==/base.apk!/lib/armeabi, /system/lib, /vendor/lib, /product/lib]]\r\n                                                       at android.app.ActivityThread.installProvider(ActivityThread.java:7110)\r\n                                                       at android.app.ActivityThread.installContentProviders(ActivityThread.java:6594)\r\n                                                       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6498)\r\n                                                       at android.app.ActivityThread.-wrap2(Unknown Source:0)\r\n                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963)\r\n                                                       at android.os.Handler.dispatchMessage(Handler.java:108)\r\n                                                       at android.os.Looper.loop(Looper.java:166)\r\n                                                       at android.app.ActivityThread.main(ActivityThread.java:7425)\r\n                                                       at java.lang.reflect.Method.invoke(Native Method)\r\n                                                       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)\r\n                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)\r\n                                                    Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.umeng.message.provider.MessageProvider\" on path: DexPathList[[zip file \"/data/app/com.font-Y8BElA2AAV3nu9I6s-w_9A==/base.apk\"],nativeLibraryDirectories=[/data/app/com.font-Y8BElA2AAV3nu9I6s-w_9A==/lib/arm, /data/app/com.font-Y8BElA2AAV3nu9I6s-w_9A==/base.apk!/lib/armeabi, /system/lib, /vendor/lib, /product/lib]]\r\n                                                       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)\r\n                                                       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)\r\n                                                       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)\r\n                                                       at android.app.ActivityThread.installProvider(ActivityThread.java:7095)\r\n                                                       at android.app.ActivityThread.installContentProviders(ActivityThread.java:6594) \r\n                                                       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6498) \r\n                                                       at android.app.ActivityThread.-wrap2(Unknown Source:0) \r\n                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963) \r\n                                                       at android.os.Handler.dispatchMessage(Handler.java:108) \r\n                                                       at android.os.Looper.loop(Looper.java:166) \r\n                                                       at android.app.ActivityThread.main(ActivityThread.java:7425) \r\n                                                       at java.lang.reflect.Method.invoke(Native Method) \r\n                                                       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) \r\n                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921) \r\n\r\n\r\n\r\n好像跟ContentProvider有关，报的错是ClassNotFoundException\r\n\r\n先试了exclude函数，将push项目忽略：\r\naspectjx {\r\n    exclude 'com.umeng.message'\r\n}\r\n但错误仍然存在。\r\n\r\n后来又试了下include函数\r\n因为我这边项目依赖了一个框架，框架里有AOP代码，在项目里添加\r\naspectjx {\r\n    include '项目包名'，‘框架包名’\r\n}\r\n但框架里的AOP不再生效！\r\n亲问该怎么解决这个问题？\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx/issues/comments/401658281","html_url":"https://github.com/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96#issuecomment-401658281","issue_url":"https://api.github.com/repos/HujiangTechnology/gradle_plugin_android_aspectjx/issues/96","id":401658281,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTY1ODI4MQ==","user":{"login":"qsmaxmin","id":10693530,"node_id":"MDQ6VXNlcjEwNjkzNTMw","avatar_url":"https://avatars1.githubusercontent.com/u/10693530?v=4","gravatar_id":"","url":"https://api.github.com/users/qsmaxmin","html_url":"https://github.com/qsmaxmin","followers_url":"https://api.github.com/users/qsmaxmin/followers","following_url":"https://api.github.com/users/qsmaxmin/following{/other_user}","gists_url":"https://api.github.com/users/qsmaxmin/gists{/gist_id}","starred_url":"https://api.github.com/users/qsmaxmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qsmaxmin/subscriptions","organizations_url":"https://api.github.com/users/qsmaxmin/orgs","repos_url":"https://api.github.com/users/qsmaxmin/repos","events_url":"https://api.github.com/users/qsmaxmin/events{/privacy}","received_events_url":"https://api.github.com/users/qsmaxmin/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T02:58:06Z","updated_at":"2018-07-02T02:58:06Z","author_association":"NONE","body":"再后来我将版本回退到1.1.1\r\n在demo的app下的build.gradle里添：\r\naspectjx {\r\n    excludeJarFilter'push-4.2.0'\r\n}\r\n运行正常，也就是说2.0.1版本的exclude标签是有bug的，望修复，谢谢！"}}
{"actor":{"display_login":"qsmaxmin"}}