报错信息 021-08-06 19:22:29.393 4699-4699/? E/WindowManager: android.view.WindowLeaked: Activity com.tencent.mm.plugin.webview.stub.WebViewStubProxyUI has leaked window DecorView@9c55254[WebViewStubProxyUI] that was originally added here at android.view.ViewRootImpl.<init>(ViewRootImpl.java:546) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94) at android.app.Dialog.show(Dialog.java:329) at com.tencent.mm.ui.widget.a.d.show(SourceFile:1045) at com.tencent.mm.ui.widget.a.f$a.show(SourceFile:583) at com.tencent.mm.pluginsdk.model.app.h$6.bT(SourceFile:1956) at com.tencent.e.e.e$1.run(SourceFile:96) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6810) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
我来挖个坟,请问题主最后是怎么解决的?最近我也在做这个功能。(我是网页前端,安卓前端也发现报错了,但是不知道怎么解决)
解决了么?最后能打开吗?
都已经弹起这个框了,就是打不开安卓app。在ios点击允许之后就能直接唤起app。
021-08-06 19:22:29.393 4699-4699/? E/WindowManager: android.view.WindowLeaked: Activity com.tencent.mm.plugin.webview.stub.WebViewStubProxyUI has leaked window DecorView@9c55254[WebViewStubProxyUI] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:546)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)
at android.app.Dialog.show(Dialog.java:329)
at com.tencent.mm.ui.widget.a.d.show(SourceFile:1045)
at com.tencent.mm.ui.widget.a.f$a.show(SourceFile:583)
at com.tencent.mm.pluginsdk.model.app.h$6.bT(SourceFile:1956)
at com.tencent.e.e.e$1.run(SourceFile:96)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6810)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)