收藏
回答

安卓APP的微信支付不能拉起

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


回答关注问题邀请回答
收藏

2 个回答

  • 云飞
    云飞
    2021-05-27

    我碰到了同样的问题,客服说排查不了。

    2021-05-27
    有用
    回复
  • 微信支付技术助手1
    微信支付技术助手1
    2019-07-23

    你好,请按照以下几点检查:

    开放平台应用签名得去掉冒号,要小写

    android studio包签名会变化

    改完应用签名要过一段时间才生效

    微信退出重启一下


    2019-07-23
    有用
    回复 7
    • 喝奶茶嘛
      喝奶茶嘛
      2019-07-23
      1、2是正常的,3、4也试过了但还是一样的结果
      2019-07-23
      回复
    • 吴冕
      吴冕
      2019-12-28回复喝奶茶嘛
      请问怎么解决的?我也碰到这个问题
      2019-12-28
      回复
    • 云天河
      云天河
      2020-02-26
      你好,我这边api.sendReq(request)和request.checkArgs()的返回变量true,签名appid以及商户号都是对的。如果在微信登录的情况下,掉不起微信支付。
      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(有其他功能)}


      但是如果微信在未登录的情况下,可以调起微信,登录成功后也就没反应了。
      2020-02-26
      回复
    • 下一站
      下一站
      2020-08-27
      官方提供的办法一点也不实用,没有一个能解决问题的
      2020-08-27
      回复
    • 裸奔的话痨狗
      裸奔的话痨狗
      2021-01-27
      我也是同样的问题,偶尔会出现调起成功一次,基本都是不成功
      2021-01-27
      回复
    查看更多(2)
登录 后发表内容