HarmonyOS 鸿蒙Next 本地模拟器启动不起来
HarmonyOS 鸿蒙Next 本地模拟器启动不起来
emulator日志如下:
2024-01-07 23:27:37.270 [Info] set "HarmonyOS_HVD_HOME" : "E:\\Huawei\\emulator"
2024-01-07 23:27:37.504 [Info] whpx unavailable.
2024-01-07 23:27:37.824 [Info] Use haxm as hardware accelerator.
2024-01-07 23:27:37.833 [Info] Find the free port: 8554
2024-01-07 23:27:41.945 [Info] Starting qemu.
2024-01-07 23:27:48.443 [Warning] Set GPS data Failed, please check your grpc connection ...
2024-01-07 23:39:56.997 [Info] qemu stopped, exit code is 62097
2024-01-07 23:45:06.156 [Info] set "HarmonyOS_HVD_HOME" : "E:\\Huawei\\emulator"
2024-01-07 23:45:06.643 [Info] whpx unavailable.
2024-01-07 23:45:06.983 [Info] Use haxm as hardware accelerator.
2024-01-07 23:45:06.995 [Info] Find the free port: 8554
2024-01-07 23:45:12.915 [Info] Starting qemu.
2024-01-07 23:45:26.419 [Warning] Set GPS data Failed, please check your grpc connection ...
2024-01-07 23:45:06.643 [Info] qemu stopped, exit code is 62097
2024-01-08 00:00:32.829 [Info] qemu stopped, exit code is 62097
2024-01-08 00:09:18.018 [Info] set "HarmonyOS_HVD_HOME" : "E:\\Huawei\\emulator"
2024-01-08 00:09:18.441 [Info] whpx unavailable.
2024-01-08 00:09:26.840 [Info] Find the free port: 8554
2024-01-08 00:09:31.142 [Info] Starting qemu.
2024-01-08 00:09:40.167 [Info] qemu stopped, exit code is 1
2024-01-08 00:10:13.974 [Info] set "HarmonyOS_HVD_HOME" : "E:\\Huawei\\emulator"
2024-01-08 00:10:14.222 [Info] whpx unavailable.
2024-01-08 00:10:23.947 [Info] Find the free port: 8554
2024-01-08 00:10:27.719 [Info] Starting qemu.
2024-01-08 00:10:28.128 [Info] qemu stopped, exit code is 1
2024-01-08 00:13:55.067 [Info] set "HarmonyOS_HVD_HOME" : "E:\\Huawei\\emulator"
2024-01-08 00:13:55.520 [Info] whpx unavailable.
2024-01-08 00:13:55.754 [Info] Use haxm as hardware accelerator.
2024-01-08 00:13:55.770 [Info] Find the free port: 8554
2024-01-08 00:14:00.370 [Info] Starting qemu.
2024-01-08 00:14:18.608 [Warning] Set GPS data Failed, please check your grpc connection ...
qemu日志如下:
INFO | added library E:\Huawei\sdk\hmscore\emulator\lib64\vulkan\vulkan-1.dll
INFO | configAndStartRenderer: setting vsync to 60 hz
HAX is working and emulator runs in fast virt mode.
INFO | Started GRPC server at 127.0.0.1:8554, security: Local+token
INFO | Advertising in: C:\Users\Administrator\AppData\Local\Temp\hvd\running\pid_9436.ini
VCPU shutdown request
INFO | Snapshot quick boot save
INFO | Deleting snapshot default_boot
INFO | Shutting down gRPC endpoint
qemu-error日志如下:
WARNING | System image is writable
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.
WARNING | Not all modern X86 virtualization features supported, which introduces problems with slowdown when running HarmonyOS on multicore vCPUs. Setting HVD to run with 1 vCPU core only.
WARNING | cannot add library vulkan-1.dll: failed
WARNING | cannot add library vulkan-1.dll: failed
pc_memory_init: above 4g size: c0000000
WARNING | Token auth requested without tls, restricting access to localhost.
Trying to execute vcpu at eip:000000000009e019
Trying to execute vcpu at eip:000000000009e019
请各位大神帮忙看看,有啥解决办法???
更多关于HarmonyOS 鸿蒙Next 本地模拟器启动不起来的实战教程也可以访问 https://www.itying.com/category-93-b0.html
这个问题解决了吗,我也是这个问题
楼主解决了吗。。我的也是相同的情况。。CPU也是I7比较老的qm版本。我从intel官网查询和用系统命令查看这个CPU支持EPT + UG的。用checktool查看支持的条件也都是yes。window11家庭版系统。16G内存。固态硬盘。我手动安装了只有专业版才有的hyper-v。“hyper-v”、“windows虚拟机监控程序平台”、“虚拟机平台”这3个反复开关各种组合试了3天,重启了无数次电脑。。。还是不行。要不启动模拟器后一直黑屏。要不每次启动模拟器都弹窗提示安装HAXM(实际上从应用列表里发现已经安装过了HAXM,我又尝试手动下载安装等步骤,甚至安装最新版HAXM也不行。。。),然后安装后又提示模拟器启动失败。。。日志跟你的也一样。。。
情况相同,请问后来您解决了吗
找了一些大神也没有解决…后来我用华为真机了…,
试过了,也不行
有要学HarmonyOS AI的同学吗,联系我:https://www.itying.com/goods-1206.html
把虚拟化开启试一下呢,
- 启用或关闭windows功能"勾选"hyper-v"、“windows虚拟机监控程序平台”、“虚拟机平台”
CPU为i7 740qm
HarmonyOS鸿蒙Next本地模拟器启动不起来可能是由于以下原因:
- 系统资源不足,如内存或CPU占用过高;
- 模拟器配置文件损坏或配置错误;
- 当前系统版本与模拟器版本不兼容;
- 缺少必要的依赖库或组件;
- 模拟器镜像文件损坏或缺失。
建议检查系统资源占用,确保有足够资源运行模拟器。验证模拟器配置文件是否正确,确保与系统版本兼容。检查并安装所有必要的依赖库和组件。尝试重新下载或替换模拟器镜像文件。