以下是使用关键字“MicroMsg”过滤到的日志打印
2021-02-25 21:17:08.707 15528-15528/我的包名 D/MicroMsg.PaySdk.WXFactory: createWXAPI, appId = null, checkSignature = true
2021-02-25 21:17:08.707 15528-15528/我的包名 D/MicroMsg.PaySdk.WXFactory: createWXAPI, appId = null, checkSignature = true, launchMode = 2
2021-02-25 21:17:08.710 15528-15528/我的包名 D/MicroMsg.SDK.WXApiImplV10: <init>, appId = null, checkSignature = true, launchMode = 2
2021-02-25 21:17:08.711 15528-15528/我的包名 D/MicroMsg.SDK.WXMsgImplComm: check signature:308202eb30820254a00302010202044d36f7a4300d06092a864886f70d01010505003081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e74301e170d3131303131393134333933325a170d3431303131313134333933325a3081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e7430819f300d06092a864886f70d010101050003818d0030818902818100c05f34b231b083fb1323670bfbe7bdab40c0c0a6efc87ef2072a1ff0d60cc67c8edb0d0847f210bea6cbfaa241be70c86daf56be08b723c859e52428a064555d80db448cdcacc1aea2501eba06f8bad12a4fa49d85cacd7abeb68945a5cb5e061629b52e3254c373550ee4e40cb7c8ae6f7a8151ccd8df582d446f39ae0c5e930203010001300d06092a864886f70d0101050500038181009c8d9d7f2f908c42081b4c764c377109a8b2c70582422125ce545842d5f520aea69550b6bd8bfd94e987b75a3077eb04ad341f481aac266e89d3864456e69fba13df018acdc168b9a19dfd7ad9d9cc6f6ace57c746515f71234df3a053e33ba93ece5cd0fc15f3e389a3f365588a9fcb439e069d3629cd7732a13fff7b891499
2021-02-25 21:17:08.711 15528-15528/我的包名 D/MicroMsg.SDK.WXMsgImplComm: pass
2021-02-25 21:17:08.711 15528-15528/我的包名 D/MicroMsg.SDK.WXApiImplV10: registerApp, appId = 我的appId
2021-02-25 21:17:08.711 15528-15528/我的包名 D/MicroMsg.SDK.WXApiImplV10: registerApp, appId = 我的appId
2021-02-25 21:17:08.711 15528-15528/我的包名 D/MicroMsg.SDK.WXApiImplV10: register app 我的包名
2021-02-25 21:17:08.713 15528-15528/我的包名 D/MicroMsg.SDK.MMessage: send mm message, intent=Intent { act=com.tencent.mm.plugin.openapi.Intent.ACTION_HANDLE_APP_REGISTER (has extras) }, perm=com.tencent.mm.permission.MM_MESSAGE
2021-02-25 21:17:31.068 15528-16015/我的包名 D/MicroMsg.SDK.WXMsgImplComm: check signature:308202eb30820254a00302010202044d36f7a4300d06092a864886f70d01010505003081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e74301e170d3131303131393134333933325a170d3431303131313134333933325a3081b9310b300906035504061302383631123010060355040813094775616e67646f6e673111300f060355040713085368656e7a68656e31353033060355040a132c54656e63656e7420546563686e6f6c6f6779285368656e7a68656e2920436f6d70616e79204c696d69746564313a3038060355040b133154656e63656e74204775616e677a686f7520526573656172636820616e6420446576656c6f706d656e742043656e7465723110300e0603550403130754656e63656e7430819f300d06092a864886f70d010101050003818d0030818902818100c05f34b231b083fb1323670bfbe7bdab40c0c0a6efc87ef2072a1ff0d60cc67c8edb0d0847f210bea6cbfaa241be70c86daf56be08b723c859e52428a064555d80db448cdcacc1aea2501eba06f8bad12a4fa49d85cacd7abeb68945a5cb5e061629b52e3254c373550ee4e40cb7c8ae6f7a8151ccd8df582d446f39ae0c5e930203010001300d06092a864886f70d0101050500038181009c8d9d7f2f908c42081b4c764c377109a8b2c70582422125ce545842d5f520aea69550b6bd8bfd94e987b75a3077eb04ad341f481aac266e89d3864456e69fba13df018acdc168b9a19dfd7ad9d9cc6f6ace57c746515f71234df3a053e33ba93ece5cd0fc15f3e389a3f365588a9fcb439e069d3629cd7732a13fff7b891499
2021-02-25 21:17:31.068 15528-16015/我的包名 D/MicroMsg.SDK.WXMsgImplComm: pass
2021-02-25 21:17:31.068 15528-16015/我的包名 I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 5
2021-02-25 21:17:31.080 15528-16015/我的包名 D/MicroMsg.SDK.WXApiImplV10: pay, set wxappPayEntryClassname = com.tencent.mm.plugin.base.stub.WXPayEntryActivity
2021-02-25 21:17:31.081 15528-16015/我的包名 D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXPayEntryActivity, launchMode = 2
2021-02-25 21:17:31.081 15528-16015/我的包名 I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent
2021-02-25 21:17:31.099 15528-16015/我的包名 D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXPayEntryActivity (has extras) }
2021-02-25 21:17:31.100 15528-15630/我的包名 I/MicroMsg.SDK.MMessageAct: sendUsingPendingIntent onSendFinished resultCode: 0, resultData: null
检查下应用是否已经添加到微信开放平台并审核通过。
APP支付无法调起微信支付的问题可能与WXAPI的初始化有关。
遇到同样的问题了