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

Android Studio Hedgehog版本模拟器无法启动问题求助

Android Studio Hedgehog版本模拟器启动失败解决方案

更新Android Studio至Hedgehog版本后,运行模拟器时无法正常启动,错误日志如下:

INFO | Android emulator version 33.1.23.0 (build_id 11150993) (CL:N/A)
INFO | Found systemPath ~/Android/Sdk/system-images/android-28/google_apis/x86/
WARNING | FeatureControl is requesting a non existing feature.
WARNING | Your GPU drivers may have a bug. Switching to software rendering.
I1212 10:47:28.048754 7661 HealthMonitor.cpp:279] HealthMonitor disabled.
I1212 10:47:28.056958 7661 FrameBuffer.cpp:486] Graphics Adapter Vendor Google (Google Inc.)
I1212 10:47:28.056975 7661 FrameBuffer.cpp:487] Graphics Adapter Android Emulator OpenGL ES Translator (Google SwiftShader)
I1212 10:47:28.056977 7661 FrameBuffer.cpp:488] Graphics API Version OpenGL ES 3.0 (OpenGL ES 3.0 SwiftShader 4.0.0.1)
I1212 10:47:28.056980 7661 FrameBuffer.cpp:489] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_standard_derivatives GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888
I1212 10:47:28.056982 7661 FrameBuffer.cpp:490] Graphics Device Extensions N/A
WARNING | The emulator now requires a signed jwt token for gRPC access! Use the -grpc flag if you really want an open unprotected grpc port
INFO | Storing crashdata in: , detection is enabled for process: 7661
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
INFO | Crash reports will be automatically uploaded to: https://clients2.google.com/cr/report
library_mode swangle_indirect gpu mode swangle_indirect
INFO | Using security allow list from: ~/Android/Sdk/emulator/lib/emulator_access.json
WARNING | *** Basic token auth should only be used by android-studio ***
INFO | The active JSON Web Key Sets can be found here: /run/user/1000/avd/running/7661/jwks/2473f51d-d8fd-4cde-bbeb-09ce6a48b1a9/active.jwk
INFO | Scanning /run/user/1000/avd/running/7661/jwks/2473f51d-d8fd-4cde-bbeb-09ce6a48b1a9 for jwk keys.
FATAL | Unable to start observing /run/user/1000/avd/running/7661/jwks/2473f51d-d8fd-4cde-bbeb-09ce6a48b1a9, jwks will not be updated. 0 were keysets loaded.
[7668:7668:20231212,104728.103677:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.103788:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.103989:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104043:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104092:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104330:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104376:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104422:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104473:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104524:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104569:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104615:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7668:20231212,104728.104661:ERROR elf_dynamic_array_reader.h:64] tag not found
[7668:7669:20231212,104728.125994:ERROR directory_reader_posix.cc:42] opendir /tmp/android-t3tr4ktys/emu-crash-33.1.23.db/attachments/bcb43c16-5bdc-4eae-a69f-0cfa984a64d1: No such file or directory (2)

解决方案

1. 清理模拟器临时文件

手动删除以下路径的相关文件:

  • /run/user/1000/avd/running下对应模拟器进程的文件夹
  • /tmp/android-*开头的临时目录
    删除后重新启动模拟器。

2. 禁用gRPC认证(临时修复)

在模拟器启动参数中添加-grpc flag,绕过JWT认证要求:

  1. 打开Android Studio的AVD Manager
  2. 选中目标模拟器,点击Edit
  3. 切换到Show Advanced Settings
  4. 在Emulator launch parameters输入框中添加-grpc
  5. 保存设置后重启模拟器

3. 更新Android Emulator版本

通过SDK Manager更新到最新的模拟器版本,修复已知的认证和文件系统bug:

  1. 打开Android Studio的Settings(或Preferences)
  2. 进入Appearance & Behavior > System Settings > Android SDK
  3. 切换到SDK Tools标签,勾选Android Emulator,点击Apply完成更新

4. 调整GPU渲染模式

日志提示GPU驱动存在问题,可尝试切换渲染模式:

  • 若想尝试硬件渲染:在AVD高级设置中,将Graphics选项改为Hardware - GLES 2.0,保存后重启
  • 若硬件渲染仍报错,改回Software模式,使用SwiftShader软件渲染

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.04 08:35:08