代码之家  ›  专栏  ›  技术社区  ›  Calvin Nunes

Android AVD-AVD<emulator_name>的模拟器进程已终止

  •  0
  • Calvin Nunes  · 技术社区  · 4 年前

    我在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 ]...)
    • 我在HD上有可用空间:大约40gb
    • 模拟器被设置为16gb的内部存储空间
    • 我尝试了x86和x86_64体系结构(两天前两者都能正常工作)
    • 试过快速启动和冷启动
    • 尝试添加一个新的模拟器,并且不更改规格上的任何内容(使用默认值)
    • SDK工具上的Android Emulator更新至最新版本(31.1.4)
    • 安装了最新的HAXM版本(7.7.0)
    • 我有一个英特尔处理器(据我所知,没有对其进行任何更改)和12gb内存

    以上这些都不能让模拟器工作。

    0 回复  |  直到 4 年前
        1
  •  1
  •   Calvin Nunes    4 年前

    我成功了。。。

    显然,Android Emulator更新到了最新版本,这就是问题所在。很明显,他和vulkan有很多冲突。dll和其他仿真过程停止使用这个新版本(至少对我的计算机而言)。

    我下载了一个基于 this answer 然后它又开始工作了。。。