You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何修复Android Studio中‘跳过52帧!主线程负载过高’的笔记本端问题?

问题详情
  • 已排查许久,尝试多种方案均未解决,确认问题不在App代码,而是笔记本设备或配置问题(设备运行卡顿)
  • 新建仅含Hello World的项目仍出现相同问题,所有App均受影响;卸载重装App无效
  • App可启动并运行动画,但屏幕冻结,无法进行点击、EditText输入、按钮按压等交互操作

Logcat日志

HWUI GL Pipeline
2025-01-14 21:34:57.361  3578-3578  Choreographer           com.example.myapplication            I  Skipped 52 frames!  The application may be doing too much work on its main thread.
2025-01-14 21:34:57.546  3578-3633  <no-tag>                com.example.myapplication            D  HostConnection::get() New Host Connection established 0x9e829040, tid 3633
2025-01-14 21:34:57.576  3578-3633  zygote                  com.example.myapplication            I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2025-01-14 21:34:57.576  3578-3633  OpenGLRenderer          com.example.myapplication            I  Initialized EGL, version 1.4
2025-01-14 21:34:57.576  3578-3633  OpenGLRenderer          com.example.myapplication            D  Swap behavior 1
2025-01-14 21:34:57.577  3578-3633  OpenGLRenderer          com.example.myapplication            W  Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2025-01-14 21:34:57.577  3578-3633  OpenGLRenderer          com.example.myapplication            D  Swap behavior 0
2025-01-14 21:34:57.648  3578-3633  EGL_emulation           com.example.myapplication            D  eglCreateContext: 0xa0485120: maj 2 min 0 rcv 2
2025-01-14 21:34:57.656  3578-3633  EGL_emulation           com.example.myapplication            D  eglMakeCurrent: 0xa0485120: ver 2 0 (tinfo 0xa0483240)
2025-01-14 21:34:57.761  3578-3633  EGL_emulation           com.example.myapplication            D  eglMakeCurrent: 0xa0485120: ver 2 0 (tinfo 0xa0483240)
2025-01-14 21:34:58.944  3578-3578  InputMethodManager      com.example.myapplication            W  Ignoring onBind: cur seq=4, given seq=3
2025-01-14 21:34:58.969  3578-3578  AssistStructure         com.example.myapplication            I  Flattened final assist data: 1504 bytes, containing 1 windows, 5 views
2025-01-14 21:34:59.082  3578-3633  EGL_emulation           com.example.myapplication            D  eglMakeCurrent: 0xa0485120: ver 2 0 (tinfo 0xa0483240)
2025-01-14 21:34:59.249  3578-3633  EGL_emulation           com.example.myapplication            D  eglMakeCurrent: 0xa0485120: ver 2 0 (tinfo 0xa0483240)
2025-01-14 21:35:03.059  3578-3722  ProfileInstaller        com.example.myapplication            D  Installing profile for com.example.myapplication
2025-01-14 21:35:11.399  3578-3585  zygote                  com.example.myapplication            I  Debugger is no longer active
2025-01-14 21:35:27.638  3578-3583  zygote                  com.example.myapplication            I  Do partial code cache collection, code=27KB, data=30KB
2025-01-14 21:35:27.639  3578-3583  zygote                  com.example.myapplication            I  After code cache collection, code=27KB, data=30KB
2025-01-14 21:35:27.639  3578-3583  zygote                  com.example.myapplication            I  Increasing code cache capacity to 128KB
2025-01-14 21:35:42.291  3578-3583  zygote                  com.example.myapplication            I  Do partial code cache collection, code=56KB, data=55KB
2025-01-14 21:35:42.297  3578-3583  zygote                  com.example.myapplication            I  After code cache collection, code=56KB, data=55KB
2025-01-14 21:35:42.297  3578-3583  zygote                  com.example.myapplication            I  Increasing code cache capacity to 256KB
2025-01-14 21:37:09.239  3578-3583  zygote                  com.example.myapplication            I  Do full code cache collection, code=122KB, data=90KB
2025-01-14 21:37:09.239  3578-3583  zygote                  com.example.myapplication            I  After code cache collection, code=105KB, data=73KB
2025-01-14 21:38:52.657  3578-3583  zygote                  com.example.myapplication            I  Do partial code cache collection, code=122KB, data=86KB
2025-01-14 21:38:52.657  3578-3583  zygote                  com.example.myapplication            I  After code cache collection, code=122KB, data=86KB
2025-01-14 21:38:52.658  3578-3583  zygote                  com.example.myapplication            I  Increasing code cache capacity to 512KB

内容的提问来源于stack exchange,提问作者masprin

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 00:14:53