api.sendReq(request)和request.checkArgs() 的返回值为true,签名 appid 以及商户号都是对的,但就是不能拉起微信支付
2019-07-19 15:54:15.967 23613-23613/? D/WX: payWeixinToGetNoResult: api.sendReq(request) true
2019-07-19 15:54:15.967 23613-23613/? D/WX: check args true
日志:
2019-07-19 15:54:15.915 23613-23613/? D/MicroMsg.SDK.WXMsgImplComm: ignore wechat app signature validation
2019-07-19 15:54:15.915 23613-23613/? I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 5
2019-07-19 15:54:15.916 23613-23613/? D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXPayEntryActivity
2019-07-19 15:54:15.921 1198-3252/? I/ActivityManager: START u0 {flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXPayEntryActivity (has extras)} from uid 10223
2019-07-19 15:54:15.924 1198-3252/? I/ActivityManager: ActivityRecord info: ActivityInfo{22d1610 com.tencent.mm.plugin.base.stub.WXPayEntryActivity}
2019-07-19 15:54:15.957 1198-3252/? V/WindowManager: addAppToken: AppWindowToken{ad58c5 token=Token{db5833c ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}}} controller={TaskWindowContainerController taskId=2939} at 2147483647
2019-07-19 15:54:15.967 23613-23613/? D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXPayEntryActivity (has extras) }
2019-07-19 15:54:15.967 23613-23613/? D/WX: payWeixinToGetNoResult: api.sendReq(request) true
2019-07-19 15:54:15.967 23613-23613/? D/WX: check args true
2019-07-19 15:54:15.980 1198-3252/? V/ActivityManager: Making visible and scheduling visibility: ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}
2019-07-19 15:54:16.001 1198-3252/? V/WindowManager: Check opening app=AppWindowToken{ad58c5 token=Token{db5833c ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false startingWindow=null
2019-07-19 15:54:16.012 1198-1738/? V/WindowManager: Check opening app=AppWindowToken{ad58c5 token=Token{db5833c ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false startingWindow=null
2019-07-19 15:54:16.017 1198-1738/? V/WindowManager: Check opening app=AppWindowToken{ad58c5 token=Token{db5833c ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false startingWindow=null
2019-07-19 15:54:16.020 1198-1348/? V/WindowManager: Check opening app=AppWindowToken{ad58c5 token=Token{db5833c ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false startingWindow=null
2019-07-19 15:54:16.022 3601-3601/? D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@d536c6b,com.tencent.mm.plugin.base.stub.WXPayEntryActivity@6f18d6
2019-07-19 15:54:16.022 1198-1348/? V/WindowManager: Check opening app=AppWindowToken{ad58c5 token=Token{db5833c ActivityRecord{2e8812f u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t2939}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false startingWindow=null
2019-07-19 15:54:16.022 3601-3601/? D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@3a6447,com.tencent.mm.plugin.base.stub.WXPayEntryActivity@6f18d6
2019-07-19 15:54:16.053 3601-3601/? D/ActivityThread: add activity client record, r= ActivityRecord{1b03355 token=android.os.BinderProxy@61a3498 {com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}} token= android.os.BinderProxy@61a3498
2019-07-19 15:54:16.054 1198-1738/? D/HISTREAM_WECHAT: activityResumed:pid=3601, uid=10141, component=ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}
2019-07-19 15:54:16.054 1198-1738/? D/HiData_HwAPPQoEResourceMangerImpl: checkIsMonitorVideoScence input :com.tencent.mm,com.tencent.mm.plugin.base.stub.WXPayEntryActivity
2019-07-19 15:54:16.055 1198-1738/? D/HwGameAssistantController: pid=3601, uid=10141, component=ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}
2019-07-19 15:54:16.055 1198-5038/? D/HiData_HwAPPQoEActivityMonitor: handleActivityChange, curPackage:com.tencent.mm, curClass:com.tencent.mm.plugin.base.stub.WXPayEntryActivity
2019-07-19 15:54:16.055 1198-5038/? D/HiData_HwAPPQoEResourceMangerImpl: checkIsMonitorAPKScence input :com.tencent.mm,com.tencent.mm.plugin.base.stub.WXPayEntryActivity
2019-07-19 15:54:16.055 1835-23302/? I/OPCollectLog: AppChangeImpl:pid: 3601 uid: 10141 pkg: com.tencent.mm class: com.tencent.mm.plugin.base.stub.WXPayEntryActivity
2019-07-19 15:54:16.055 3767-3785/? I/AppLifeChangeSensor: CAWARENESS: activityResumed componentName = ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}
2019-07-19 15:54:16.063 3767-3785/? I/AppLifeChangeSensor: CAWARENESS: activityPaused componentName = ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}
2019-07-19 15:54:16.107 1198-28146/? I/ActivityManager: START u0 {flg=0x10000000 cmp=com.ayst.bbtcloudhdxq/.wxapi.WXPayEntryActivity (has extras)} from uid 10141
我碰到了同样的问题,客服说排查不了。
你好,请按照以下几点检查:
1 开放平台应用签名得去掉冒号,要小写
2 android studio包签名会变化
3 改完应用签名要过一段时间才生效
4 微信退出重启一下
2020-02-26 20:05:29.818 28129-28129 / com.xinrenlei.koubeigongzuo D / MicroMsg.SDK.WXMsgImplComm:忽略微信应用签名验证
2020-02-26 20:05:29.818 28129-28129 / com.xinrenlei.koubeigongzuo D / MicroMsg.SDK.WXApiImplV10:sendReq,req类型= 5
2020-02-26 20:05:29.818 28129-28129 / com.xinrenlei.koubeigongzuo D / MicroMsg.SDK.MMessageAct:send,targetPkgName = com.tencent.mm,targetClassName = com.tencent.mm.plugin.base.stub .WXPayEntryActivity
---------系统开始
2020-02-26 20:05:29.819 28129-28129 / com.xinrenlei.koubeigongzuo I /时间轴:时间轴:Activity_launch_request时间:261331886
2020-02-26 20:05:29.842 28129-28129 / com.xinrenlei.koubeigongzuo D / MicroMsg.SDK.MMessageAct:发送mm消息,intent = Intent {flg = 0x18000000 cmp = com.tencent.mm / .plugin.base .stub.WXPayEntryActivity(有其他功能)}
但是如果微信在未登录的情况下,可以调起微信,登录成功后也就没反应了。