我在 StackOverflow 上进行了搜索,发现了许多类似的问题和许多不同的答案,但没有一个对我有用。
所以,最后几天我一直很好地使用 Android Studio 的模拟器,直到我尝试添加一个新的虚拟设备谷歌播放API,当我尝试运行它时出现此消息:
AVD 的模拟器进程已终止。
我尝试了很多不同的事情,还删除了我拥有的所有模拟器,但现在我创建的模拟器都不起作用
这是我在 Android Studio 日志中得到的日志:
[1647414] INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\2DWeb\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -no-snapstorage -avd cel_30_debug1
[1649364] INFO - manager.EmulatorProcessHandler - Emulator: WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
[1649364] INFO - manager.EmulatorProcessHandler - Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
[1649380] INFO - manager.EmulatorProcessHandler - Emulator: WARNING | Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
[1650143] INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\2DWeb\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe:/qemu.conf:1: no group defined
[1651630] INFO - manager.EmulatorProcessHandler - Emulator: INFO | configAndStartRenderer: setting vsync to 60 hz
[1651630] INFO - manager.EmulatorProcessHandler - Emulator: INFO | added library vulkan-1.dll
[1651665] INFO - manager.EmulatorProcessHandler - Emulator: INFO | Android emulator version 31.1.4.0 (build_id 7920983) (CL:N/A)
[1651665] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 0
我什至卸载了Android Studio并删除了所有相关目录并重新安装了它,但不起作用。
一些重要的事情:
- 尝试使用或不使用 Google Play API 或 Google API
- 尝试了不同的 SDK API (8.1 [API 27], 10 [API 29], 11 [API 30]...)
- 我的高清可用空间:大约 40GB
- 模拟器内部存储设置为16GB
- 我尝试了 x86 和 x86_64 架构(两天前都可以工作)
- 尝试过快速启动和冷启动
- 尝试添加新的模拟器并且不更改规格上的任何内容(使用默认值)
- SDK Tools 上的 Android 模拟器已更新至最新版本 (31.1.4)
- 安装最新的 HAXM 版本 (7.7.0)
- 我有一个 Intel 处理器(据我所知,没有对其进行任何更改)和 12GB RAM
以上均无法使模拟器正常工作。
转到您的 Android Studio,选择“工具”->“SDK 管理器”->“SDK 工具”选项卡-> 并更新到最新的 Android 模拟器版本。然后再次重新运行您的模拟器。解决了!希望能帮助到你。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)