使用命令安装的这个项目,只配置了鸿蒙App配置,包名,图标配置
npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
提示
15:13:21.490 01-21 15:13:19.754 5013 5013 I C02c11/APPSPAWN: [appspawn_server.c:93]AppSpawnChild id 19 flags: 0x4
15:13:21.491 01-21 15:13:19.754 5013 5013 I C02c02/PARAM: [param_request.c:324]ResetParamSecurityLabel g_clientFd: 18
15:13:21.491 01-21 15:13:19.754 5013 5013 E C02c11/APPSPAWN: [appspawn_common.c:501]no need set fd info 1, 0
15:13:21.507 01-21 15:13:19.756 5013 5013 E C02c11/APPSPAWN: [sandbox_utils.cpp:1697]fopen filename failed.
01-21 15:13:19.772 5013 5013 E C02c11/APPSPAWN: [sandbox_utils.cpp:948]DoAppSandboxMountOnce section permission failed, /mnt/sandbox/100/hm.com.qiyeqianbao/storage/Users/currentUser/appdata/el1
15:13:21.517 01-21 15:13:19.772 5013 5013 I C02c11/APPSPAWN: [sandbox_utils.cpp:1650]Set appsandbox property success
15:13:21.533 01-21 15:13:19.774 5013 5013 I C02c11/APPSPAWN: [sandbox_utils.cpp:1768]Change root dir success
15:13:21.533 01-21 15:13:19.774 5013 5013 E C02c11/APPSPAWN: [sandbox_dec.c:185]open dec file fail.
15:13:21.533 01-21 15:13:19.774 5013 5013 E C02c11/APPSPAWN: [appspawn_silk.c:118]Load silk library failed for configItems is NULL
4 个回复
DCloud_UNI_yuhe
是 windows 模拟器吗?目前 windows 模拟器不支持运行到鸿蒙
1***@qq.com (作者)
是mac 的arm模拟器
DCloud_UNI_yuhe
把你这个项目发出来看一下
2025-01-21 15:28
DCloud_UNI_yuhe
哪个版本的 hbuilderx?
2025-01-21 15:35
1***@qq.com (作者)
hb版本4.45
dev版本5.0.5.315
DCloud_UNI_yuhe
你好,我这里测试是正常的,你是怎么运行的?
1***@qq.com (作者)
hb下,菜单 运行到手机或模拟器-运行到鸿蒙,控制栏提示运行成功后模拟器安装成功后打开闪退
2025-01-21 15:54
DCloud_UNI_yuhe
回复 1***@qq.com: 你发一下打包后的鸿蒙工程,位置是 dist/debug/app-harmony.....
2025-01-21 16:06
1***@qq.com (作者)
回复 DCloud_UNI_yuhe: 文件太大上传不上去
2025-01-21 16:09
DCloud_UNI_yuhe
回复 1***@qq.com: 你看一下私信我能发吗?
2025-01-21 16:13