Android Studio无法启动Android虚拟设备(AVDs)问题求助
Android模拟器(AVD)启动失败问题求助
问题现象
Android Studio及CLI的emulator命令启动AVDs均失败(仅成功启动过一次),操作流程:
- 创建Pixel 6 AVD
- 安装系统镜像
- 从设备管理器选择AVD
- 系统托盘显示"Starting avd",模拟器窗口显示"connecting to emulator"
- 模拟器最终无法启动
已尝试的修复措施
- 执行
wipe data清除AVD数据 - 执行
cold boot冷启动AVD - 在"Hardware"、"Software"和"Automatic"之间切换
emulated performance选项 - 删除并重新安装AVDs
- 执行
adb kill-server终止adb服务器 - 通过CLI执行
emulator -list-avds命令,返回:INFO | Storing crashdata in: /tmp/android-skyjuice/emu-crash-34.2.13.db, detection is enabled for process: 5302 - 卸载并重新安装Android Studio
- 将
/sdk、/platform-tools、/emulator、tools/bin添加至PATH环境变量
已安装组件
Android Studio中已安装Android emulator、SDK 14、Android SDK Build Tools、Android SDK Platform Tools。
idea.log日志信息
2024-05-09 16:10:02,713 [ 142492] INFO - Emulator: Pixel 6 - Not yet booted 2024-05-09 16:10:05,650 [ 145429] INFO - Emulator: Pixel 6 - Displaychange event: 0 2024-05-09 16:10:05,650 [ 145429] INFO - Emulator: Pixel 6 - Display notification event: event: DISPLAY_CONFIGURATIONS_CHANGED_UI displayConfigurationsChangedNotification { displayConfigurations { displays { width: 1080 height: 2400 dpi: 420 } userConfigurable: 3 maxDisplays: 11 } } 2024-05-09 16:10:05,652 [ 145431] INFO - #com.android.tools.idea.streaming.emulator.EmulatorView - Received notification: event: DISPLAY_CONFIGURATIONS_CHANGED_UI displayConfigurationsChangedNotification { displayConfigurations { displays { width: 1080 height: 2400 dpi: 420 } userConfigurable: 3 maxDisplays: 11 } } 2024-05-09 16:10:15,642 [ 155421] WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamNotification call failed - UNAVAILABLE: Network closed for unknown reason 2024-05-09 16:10:15,642 [ 155421] WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamScreenshot call failed - UNAVAILABLE: Network closed for unknown reason 2024-05-09 16:10:15,644 [ 155423] INFO - #com.android.tools.idea.streaming.emulator.EmulatorController - Disconnected from Pixel 6 (5554) 2024-05-09 16:10:15,724 [ 155503] INFO - Emulator: Pixel 6 - Process finished with exit code 139 (interrupted by signal 11:SIGSEGV) 2024-05-09 16:10:15,724 [ 155503] WARN - Emulator: Pixel 6 - Emulator terminated with exit code 139 2024-05-09 16:10:15,897 [ 155676] INFO - #com.android.tools.idea.adb.AdbService - Device [emulator-5554] is offline 2024-05-09 16:10:26,642 [ 166421] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files 2024-05-09 16:10:41,411 [ 181190] INFO - #c.i.u.t.DateFormatUtil - cannot load system formats (JNA=true), resorting to JRE for en_US 2024-05-09 16:11:18,215 [ 217994] WARN - #c.i.o.a.ActionStub - ActionGroup should be registered using <group> tag: id="Android.CreateResourcesActionGroup" class="org.jetbrains.android.actions.CreateResourceFileActionGroup" 2024-05-09 16:11:18,560 [ 218339] WARN - #c.i.i.a.CopyTBXReferenceAction - Cannot find TBX tool for IDE: AndroidStudio 2024-05-09 16:11:36,265 [ 236044] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files 2024-05-09 16:11:36,313 [ 236092] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=Greeting Card, containerState=COMPONENT_CREATED, componentStore=/home/user/AndroidStudioProjects/GreetingCard)KotlinCommonCompilerArguments took 11 ms
系统环境
- Android Studio Jellyfish | 2023.3.1
- ArchLinux,Android Studio通过AUR安装
内容的提问来源于stack exchange,提问作者user24962580
相关产品推荐
相关产品推荐

