HarmonyOS 鸿蒙Next启动模拟器失败,一直打转
HarmonyOS 鸿蒙Next启动模拟器失败,一直打转
版本:DevEco Studio NEXT Developer Beta1
启动模拟器时,一直是黑屏,进不去页面,如下图所示,请问是什么原因?
发现qemu.log有如下信息:
2024-06-28 15:32:29.515 123145438818304 I [UiProxyUtil.cpp(VirtioTrackpadLoadConfig:121)] trackpad config width:1260 height:2720 width_resolution:19 touchscreen:1
2024-06-28 15:32:29.516 123145438818304 I [UiProxyUtil.cpp(VirtioTrackpadLoadConfig:121)] trackpad config width:3200 height:2400 width_resolution:30 touchscreen:0
2024-06-28 15:32:29.519 123145438818304 I [teleport_express_pci.c(init_express_driver_names:207)] init_express_driver_names |express_gpu express_bridge express_gps express_accel express_battery express_sync express_keyboard express_touchscreen express_mic express_sensor express_gyro express_motion |
2024-06-28 15:32:29.964 123145438818304 I [vl.c(RunQemuMain:3768)] Qemu Init end
2024-06-28 15:32:32.965 123145443647488 I [teleport_express_call.c(guest_null_ptr_init:623)] null ptr 7742948056
2024-06-28 15:32:33.002 123145443647488 I [teleport_express.c(teleport_express_output_handle:30)] start handle thread
2024-06-28 15:32:33.002 123145445793792 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:33.009 123145446330368 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:33.013 123145443647488 I [express_touchscreen.c(touchscreen_buffer_register:706)] touch register buffer
2024-06-28 15:32:33.026 123145443647488 I [express_keyboard.c(keyboard_buffer_register:166)] keyboard register buffer
2024-06-28 15:32:33.033 123145443647488 I [express_battery.c(battery_buffer_register:149)] battery register buffer
2024-06-28 15:32:33.033 123145443647488 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:33.033 123145443647488 I [express_sync.c(sync_buffer_register:138)] sync register buffer
2024-06-28 15:32:48.279 123145445793792 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:48.352 123145433452544 I [texture_utils.cpp(check_texture_support_status:248)] GL_COMPRESSED_TEXTURE_FORMATS: etc2 [not all support: 0 vs 10]
2024-06-28 15:32:48.352 123145433452544 I [texture_utils.cpp(check_texture_support_status:255)] GL_COMPRESSED_TEXTURE_FORMATS: astc [not all support: 0 vs 28]
2024-06-28 15:32:48.352 123145433452544 E [express_gpu_render.c(static_value_prepare:486)] when creating static vaules 500
2024-06-28 15:32:48.352 123145433452544 I [express_gpu_render.c(static_value_prepare:549)] gl vendor:Intel Inc.
2024-06-28 15:32:48.352 123145433452544 I [express_gpu_render.c(static_value_prepare:575)] gl version:OpenGL ES 3.0 (4.1 INTEL-20.7.2)
2024-06-28 15:32:48.352 123145433452544 I [express_gpu_render.c(static_value_prepare:584)] gl renderer:Intel® Iris™ Plus Graphics 640
2024-06-28 15:32:48.352 123145433452544 I [express_gpu_render.c(static_value_prepare:599)] gl shading_language_version:OpenGL ES GLSL ES 3.0
2024-06-28 15:32:48.352 123145433452544 I [express_gpu_render.c(static_value_prepare:622)] host gl 41 DSA_enable 0
2024-06-28 15:32:48.354 123145433452544 I [express_gpu_render.c(native_window_thread:887)] native windows create!
2024-06-28 15:32:48.427 123145432915968 I [express_display.c(display_decode_invoke:512)] Get Display id : 0, power state :0
2024-06-28 15:32:50.300 123145432915968 I [express_display.c(display_decode_invoke:512)] Get Display id : 0, power state :0
2024-06-28 15:32:50.812 123145442574336 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:50.835 123145467256832 W [express_gpu.c(decode_invoke:150)] #fun_id 10013 context 7fc038af6070 gl error 500
2024-06-28 15:32:51.096 123145443647488 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:51.098 123145467793408 W [express_gpu.c(decode_invoke:150)] #fun_id 10013 context 7fc03ea56770 gl error 500
2024-06-28 15:32:51.172 123145443110912 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:51.175 123145468329984 W [express_gpu.c(decode_invoke:150)] #fun_id 10013 context 7fc029006110 gl error 500
2024-06-28 15:32:52.837 123145442574336 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:53.370 123145445793792 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:53.458 123145465647104 W [express_gpu.c(decode_invoke:150)] #fun_id 10013 context 7fc03ea5cd60 gl error 500
2024-06-28 15:32:53.596 123145443110912 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:53.596 123145469939712 W [express_gpu.c(decode_invoke:150)] #fun_id 10013 context 7fc03ea5f3f0 gl error 500
2024-06-28 15:32:53.617 123145444184064 I [express_event.c(create_event:23)] Create Event
2024-06-28 15:32:53.619 123145470476288 W [express_gpu.c(decode_invoke:150)] #fun_id 10013 context 7fc03ea61420 gl error 500
2024-06-28 15:32:54.154 123145432915968 I [express_display.c(display_decode_invoke:512)] Get Display id : 0, power state :0
2024-06-28 15:32:54.168 123145432915968 I [express_display.c(display_decode_invoke:512)] Get Display id : 0, power state :0
2024-06-28 15:33:47.653 123145443647488 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:47.904 123145444184064 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:48.003 123145443110912 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:48.050 123145443647488 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:48.095 123145444184064 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:48.509 123145444184064 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:48.668 123145444184064 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:49.076 123145444184064 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:49.080 123145444184064 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:49.094 123145442574336 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:49.113 123145442574336 F [hvf-all.c(assert_hvf_ok:45)] fatal! assert_hvf_ok exit reason code: -85377023
2024-06-28 15:33:50.709 123145445793792 W [teleport_express_call.c(fill_teleport_express_queue_elem:383)] find null prt!!!
2024-06-28 15:33:50.709 123145432915968 E [express_display.c(gbuffer_data_guest_to_host:903)] guest_upload_gbuffer_data get null gbuffer, gbuffer_id : id 0
楼主您好,把bootanimation.feature.key改成true试试。
确实可以,谢谢
怎么改呀,我是学生,不会
而且为什么我直接下载的beta1,没有看到harmonySDK。
找HarmonyOS工作还需要会Flutter的哦,有需要Flutter教程的可以学学大地老师的教程,很不错,B站免费学的哦:https://www.bilibili.com/video/BV1S4411E7LY/?p=17
我的是mac(x86),使用环境哪里没有说明,难道x86不行吗?
估计是官方没有适配。。。。,反正应该就是arm的MAC能用
是x86架构的, x86被鄙视了吗?
针对您提出的HarmonyOS 鸿蒙Next启动模拟器失败、一直打转的问题,以下是一些可能的原因及解决方向:
- 系统配置:请确保您的系统满足运行模拟器的最低要求,如Windows 10企业版/专业版/教育版及以上,CPU支持VT-x或AMD-V,系统内存推荐16GB及以上。对于macOS系统,需为12.5及以上版本,系统内存推荐8GB及以上。
- HAXM安装:在Intel CPU的Windows电脑下,请检查Hyper-V功能是否已关闭,否则可能导致HAXM安装失败。
- 显卡驱动:确保显卡驱动版本不过低,并支持OpenGL 4.1及以上版本。多显卡设备可能存在兼容性问题,可以尝试禁用一个显卡后重新打开模拟器。
- 日志检查:如果问题依旧,请检查DevEco Studio和SDK的日志文件,查找具体错误信息。
如果问题依旧没法解决请联系官网客服,官网地址是:https://www.itying.com/category-93-b0.html 。