物遇
物遇
  • 发布:2020-10-12 10:54
  • 更新:2020-11-06 12:42
  • 阅读:768

【报Bug】Redmi 6 Pro等部分机型启动闪退

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10.0.18363.1082

HBuilderX类型: 正式

HBuilderX版本号: 2.8.13

手机系统: Android

手机系统版本号: Android 8.1

手机厂商: 小米

手机机型: Redmi 6 Pro

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

打开APP

预期结果:

正常启动

实际结果:

闪退

bug描述:

上传小米应用商店,应用商店检测时候Redmi 6 Pro机型启动闪退。
其他大部分机型(安卓和IOS)正常有一部分也闪退
闪退信息如下,日志请看附件

android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@7067bfa is not valid; is your activity running?  
at android.view.ViewRootImpl.setView(ViewRootImpl.java:796)  
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:356)  
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)  
at android.app.Dialog.show(Dialog.java:330)  
at com.android.quicksearchbox.ui.g.a(Unknown Source:81)  
at com.android.quicksearchbox.ui.aa.q(Unknown Source:14)  
at com.android.quicksearchbox.ui.rb.B(Unknown Source:12)  
at com.android.quicksearchbox.Ra.b(Unknown Source:26)  
at com.android.quicksearchbox.util.gb.onGlobalLayout(Unknown Source:71)  
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:945)  
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2295)  
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)  
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6886)  
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)  
at android.view.Choreographer.doCallbacks(Choreographer.java:841)  
at android.view.Choreographer.doFrame(Choreographer.java:772)  
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1015)  
at android.os.Handler.handleCallback(Handler.java:794)  
at android.os.Handler.dispatchMessage(Handler.java:99)  
at android.os.Looper.loop(Looper.java:176)  
at android.app.ActivityThread.main(ActivityThread.java:6651)  
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:824)
2020-10-12 10:54 负责人:DCloud_Android_ST 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

异常信息不能定位具体问题。需要复现步骤

该问题目前已经被锁定, 无法添加新回复