收藏
回答

安卓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


最后一次编辑于  07-23  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手1
    微信支付技术助手1
    07-23

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

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

    android studio包签名会变化

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

    微信退出重启一下


    07-23
    赞同
    回复 1
    • 🍬🍬🍬
      🍬🍬🍬
      07-23
      1、2是正常的,3、4也试过了但还是一样的结果
      07-23
      回复