MOB 微信分享闪退 errCode -6

错误如下:

W/System.err: java.lang.Throwable: {"transaction":"webpage1466730153739","req":"e","errCode":-6}

W/System.err:     at cn.sharesdk.wechat.utils.k.a(Unknown Source)
W/System.err:     at cn.sharesdk.wechat.utils.j.a(Unknown Source)
W/System.err:     at cn.sharesdk.wechat.utils.WechatHelper.a(Unknown Source)
W/System.err:     at cn.sharesdk.wechat.utils.WechatHandlerActivity.onCreate(Unknown Source)
W/System.err:     at android.app.Activity.performCreate(Activity.java:6288)
W/System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
W/System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
W/System.err:     at android.app.ActivityThread.access$900(ActivityThread.java:177)
W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err:     at android.os.Looper.loop(Looper.java:145)
W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5942)
W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)
W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)

W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)


原因是微信开放平台的md5签名跟手机签名不一致了。用MD5签名生成器生成下替换下就OK啦

你可能感兴趣的:(MOB 微信分享闪退 errCode -6)