{"action":"created","issue":{"url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils/issues/47","repository_url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils","labels_url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils/issues/47/comments","events_url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils/issues/47/events","html_url":"https://github.com/hongyangAndroid/okhttp-utils/issues/47","id":121842253,"number":47,"title":"混淆后不能运行","user":{"login":"jp1017","id":7868514,"avatar_url":"https://avatars.githubusercontent.com/u/7868514?v=3","gravatar_id":"","url":"https://api.github.com/users/jp1017","html_url":"https://github.com/jp1017","followers_url":"https://api.github.com/users/jp1017/followers","following_url":"https://api.github.com/users/jp1017/following{/other_user}","gists_url":"https://api.github.com/users/jp1017/gists{/gist_id}","starred_url":"https://api.github.com/users/jp1017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jp1017/subscriptions","organizations_url":"https://api.github.com/users/jp1017/orgs","repos_url":"https://api.github.com/users/jp1017/repos","events_url":"https://api.github.com/users/jp1017/events{/privacy}","received_events_url":"https://api.github.com/users/jp1017/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-12T08:32:19Z","updated_at":"2016-04-22T08:41:02Z","closed_at":"2016-04-22T08:41:02Z","body":"我看[#18](https://github.com/hongyangAndroid/okhttp-utils/issues/18)也有该混淆问题，但是我这里还是不行，问题如下：\r\n\r\nretrace mapping 错误信息后这样：\r\n\r\n```java\r\nFATAL EXCEPTION: main Process: com.inst.navigation, PID: 18379\r\n java.lang.NullPointerException\r\nat com.inst.navigation.ui.activity.LoginActivity$2.\r\n    void onError(com.squareup.okhttp.Request,java.lang.Exception)(Unknown Source)\r\n    void onResponse(java.lang.String)\r\n    void onResponse(java.lang.Object)\r\nat com.inst.navigation.ui.activity.LoginActivity$2.\r\n    void onError(com.squareup.okhttp.Request,java.lang.Exception)(Unknown Source)\r\n    void onResponse(java.lang.String)\r\n    void onResponse(java.lang.Object)\r\nat com.zhy.http.okhttp.OkHttpClientManager$4.void run()(Unknown Source)\r\nat android.os.Handler.handleCallback(Handler.java:733)\r\nat android.os.Handler.dispatchMessage(Handler.java:95)\r\nat android.os.Looper.loop(Looper.java:136)\r\nat android.app.ActivityThread.main(ActivityThread.java:5034)\r\nat java.lang.reflect.Method.invokeNative(Native Method)\r\nat java.lang.reflect.Method.invoke(Method.java:515)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)\r\nat dalvik.system.NativeStart.main(Native Method)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils/issues/comments/213329516","html_url":"https://github.com/hongyangAndroid/okhttp-utils/issues/47#issuecomment-213329516","issue_url":"https://api.github.com/repos/hongyangAndroid/okhttp-utils/issues/47","id":213329516,"user":{"login":"hongyangAndroid","id":10704521,"avatar_url":"https://avatars.githubusercontent.com/u/10704521?v=3","gravatar_id":"","url":"https://api.github.com/users/hongyangAndroid","html_url":"https://github.com/hongyangAndroid","followers_url":"https://api.github.com/users/hongyangAndroid/followers","following_url":"https://api.github.com/users/hongyangAndroid/following{/other_user}","gists_url":"https://api.github.com/users/hongyangAndroid/gists{/gist_id}","starred_url":"https://api.github.com/users/hongyangAndroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongyangAndroid/subscriptions","organizations_url":"https://api.github.com/users/hongyangAndroid/orgs","repos_url":"https://api.github.com/users/hongyangAndroid/repos","events_url":"https://api.github.com/users/hongyangAndroid/events{/privacy}","received_events_url":"https://api.github.com/users/hongyangAndroid/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T08:41:02Z","updated_at":"2016-04-22T08:41:02Z","body":"```\r\n#okhttputils\r\n-dontwarn com.zhy.http.**\r\n-keep class com.zhy.http.**{*;}\r\n-keep interface com.zhy.http.**{*;}\r\n\r\n#okhttp\r\n-dontwarn okhttp3.**\r\n-keep class okhttp3.**{*;}\r\n-keep interface okhttp3.**{*;}\r\n\r\n#okio\r\n-dontwarn okio.**\r\n-keep class okio.**{*;}\r\n-keep interface okio.**{*;}\r\n```\r\n"}}