Android端app拉起微信小程序跳转提示“跳转失败” 不知道为何?
IWXAPI api = WXAPIFactory.createWXAPI(context, appId, false); WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req(); req.userName = userId; if (TextUtils.isEmpty(path)) { req.path = ""; } else { req.path = path; } if (TextUtils.isEmpty(mini)) { req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE; } else { req.miniprogramType = WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_PREVIEW; } api.sendReq(req); 微信版本7.0.6 appId: wx516f09ef989c1298 userId,req.userName: gh_b52e04a0100c path=""; mini=""; req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE; compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'