收藏
回答

微信支付取消/支付完成返回自己到APP未走WXEntryActivity onResp 方法

Android 分享到微信/微信登录调起微信都APP都可以收到回调监听

但是 微信支付取消/支付完成返回自己到APP未走WXEntryActivity  onResp 方法

报以下错误

E  android.view.WindowLeaked: Activity com.tencent.mm.framework.app.UIPageFragmentActivity has leaked window DecorView@ee033d4[UIPageFragmentActivity] that was originally added here                                                                                                      at android.view.ViewRootImpl.<init>(ViewRootImpl.java:981)                                                                                                      at android.view.ViewRootImpl.<init>(ViewRootImpl.java:965)                                                                                                      at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:402)                                                                                                      at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:151)                                                                                                      at android.app.Dialog.show(Dialog.java:427)                                                                                                      at p64.g.show(SourceFile:1)                                                                                                      at i14.j.D(SourceFile:54)                                                                                                      at i14.j.C(Unknown Source:10)                                                                                                      at com.tencent.kinda.framework.widget.base.AlertDialogImpl.showTipsImpl(SourceFile:8)                                                                                                      at com.tencent.kinda.gen.VoidCallback$CppProxy.native_call(Native Method)                                                                                                      at com.tencent.kinda.gen.VoidCallback$CppProxy.call(Unknown Source:2)                                                                                                      at com.tencent.kinda.framework.app.UIPagePlatformFuncDelegateImpl$2.onMenuItemClick(SourceFile:5)                                                                                                      at com.tencent.mm.ui.MMActivityController$h$a.run(Unknown Source:5)                                                                                                      at android.os.Handler.handleCallback(Handler.java:942)                                                                                                      at android.os.Handler.dispatchMessage(Handler.java:99)                                                                                                      at android.os.Looper.loopOnce(Looper.java:223)                                                                                                      at android.os.Looper.loop(Looper.java:324)                                                                                                      at android.app.ActivityThread.main(ActivityThread.java:8640)                                                                                                      at java.lang.reflect.Method.invoke(Native Method)                                                                                                      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)                                                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1061)

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

1 个回答

  • 舒强
    舒强
    01-22

    请问,解决了,我也遇到了,同样的问题

    01-22
    有用
    回复
登录 后发表内容