如何解决Android模拟器无法选中的问题?
Android模拟器无法选中且误报多实例问题解决方案
问题描述
无法选中任何模拟器,未运行相同AVD的多实例,但系统持续报错“Running multiple emulators with the same AVD”,删除重建AVD无效。
错误日志
INFO | Storing crashdata in: C:\Users\Johoo\AppData\Local\Temp\\AndroidEmulator\emu-crash-35.1.20.db, detection is enabled for process: 20428 INFO | Android emulator version 35.1.20.0 (build_id 12234392) (CL:N/A) INFO | Graphics backend: gfxstream INFO | Found systemPath C:\Users\Johoo\AppData\Local\Android\Sdk\system-images\android-31\google_apis_playstore\x86_64\ WARNING | Please update the emulator to one that supports the feature(s): Vulkan INFO | Ignore IPv6 address: c009:183d:2a02:0:d0ef:173d:2a02:0 (2x) ERROR | Running multiple emulators with the same AVD ERROR | is an experimental feature. ERROR | Please use -read-only flag to enable this feature. INFO | Storing crashdata in: C:\Users\Johoo\AppData\Local\Temp\\AndroidEmulator\emu-crash-35.1.20.db, detection is enabled for process: 25000 INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag. INFO | IPv4 server found: 192.168.100.1 INFO | Ignore IPv6 address: d0ef:173d:2a02:0:d0ef:173d:2a02:0 INFO | Ignore IPv6 address: d0ef:173d:2a02:0:d0ef:173d:2a02:0 (2x) INFO | Ignore IPv6 address: d0f5:173d:2a02:0:d0ef:173d:2a02:0 INFO | Ignore IPv6 address: d0f5:173d:2a02:0:d0ef:173d:2a02:0 (2x) INFO | Ignore IPv6 address: e8fb:173d:2a02:0:d0ef:173d:2a02:0 INFO | Ignore IPv6 address: e8fb:173d:2a02:0:d0ef:173d:2a02:0 (2x) INFO | Ignore IPv6 address: c009:183d:2a02:0:d0ef:173d:2a02:0
解决步骤
- 清理残留进程:打开任务管理器,结束所有含
qemu、emulator的进程,再重启模拟器 - 启用只读模式:编辑AVD启动参数,添加
-read-only(AVD管理器→编辑AVD→显示高级设置→启动选项中填入该参数) - 更新模拟器:SDK管理器中更新Android Emulator到最新版本,解决Vulkan支持问题
- 清理AVD残留:删除
C:\Users\Johoo\.android\avd下重复或异常的AVD文件夹,重新创建AVD - 禁用IPv6:在AVD启动参数中添加
-no-ipv6,规避IPv6地址检测冲突
内容的提问来源于stack exchange,提问作者JO sharaf
相关产品推荐
相关产品推荐

