环境:window 10,

开发者工具:DevEco Studio NEXT Developer Beta1
Build #DS-233.14475.28.36.503402
Build Version: 5.0.3.402, built on June 16, 2024
Runtime version: 17.0.10+1-b1087.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
 idea.plugins.compatible.build=IC-233.14475.28

运行模拟器时,就如上图所示,一直loading,于是我查看了运行日志:

D:\software_dir\Huawei\tools\HarmonyOSEmulator\New_Device_from_Huawei_Phone\qemu-error.log

如下:

WARNING | System image is writable
pc_memory_init: above 4g size: c0000000
WARNING | Token auth requested without tls, restricting access to localhost.
WARNING | Could not connect to proxy at 10.50.193.47:8888: timed out !
WARNING | Proxy will be ignored !
并没有啥大问题,于是怀疑是不是缓存的问题,那就试试清除下缓存,操作如下:

(Device Manager)设备管理----选中某个模拟器---Actions---Wipe User Data----确定

重启后就解决了,我看网络上也有一些开发者碰到了
dsound: Could not initialize DirectSoundCapture
dsound: Reason: No sound driver is available for use, or the given GUlD is not a valid Directsound device ID
这个可能是音频的开关或者驱动没有安装好,可以先试试按这个解决方向去解决

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部