首页 > 解决方案 > QT + Android + UI 切换应用时无响应

问题描述

时间:这种情况随机发生,如五分之一。

日志:报告了一个运行时错误,它不会导致应用程序中止,并且似乎由 QT 内部处理。

其他可疑日志片段报告为警告,如下所示:

**E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -19**
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libEGL  : EGLNativeWindowType 0x7b24d7a650 disconnect failed
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W mali_winsys: native_window_api_disconnect failed: -19
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
W libEGL  : EGLNativeWindowType 0x7af4b57010 disconnect failed
W libappoken_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
D ZrHung.AppEyeUiProbe: not watching, wait.
D ZrHung.AppEyeUiProbe: restart watching

标签: androidqt

解决方案


推荐阅读