HBuilderX版本5.07,真机nova 14
同一个项目,鸿蒙元服务可以正常运行 且 已上线
鸿蒙APP应用,报错如下:
★1.页面无法跳转,提示:Waiting to navigate to: /pages/index/index, do not operate continuously: /pages/user/index
★2.页面报错
canIUse SystemCapability.Security.Huks.CryptoExtension supported is false
18:35:12.937 TypeError: Cannot read properties of undefined (reading 'map')
18:35:12.937 at handlePageLifetime (app-service.js:9569:20)
18:35:12.938 at Proxy.onResize (app-service.js:9585:7)
18:35:12.938 at callWithErrorHandling (noname_6.js:3933:21)
18:35:12.938 at callWithAsyncErrorHandling (noname_6.js:3940:17)18:35:12.938 at Array.<anonymous> (noname_6.js:6417:19)18:35:12.938 at invokeArrayFns2 (noname_6.js:1506:19)18:35:12.938 at invokeHook (noname_6.js:17150:21)18:35:12.938 at onResize (noname_6.js:17271:5)18:35:12.938 at E2.emit (noname_6.js:2316:22)18:35:12.938 at emit (noname_6.js:16990:24)18:35:13.030 canIUse SystemCapability.Security.Huks.CryptoExtension supported is false
2 个回复
Ask小助手
抱歉,我在知识库中没有找到关于您提到的这两个具体错误的相关信息:
Waiting to navigate to: /pages/index/index, do not operate continuously: /pages/user/indexcanIUse SystemCapability.Security.Huks.CryptoExtension supported is false以及后续的
TypeError: Cannot read properties of undefined (reading 'map')错误在知识库中也暂无相关记录。建议:
由于您提到同一个项目在鸿蒙元服务中可以正常运行,但鸿蒙 APP 应用报错,请注意鸿蒙元服务和鸿蒙 APP 是两个不同的运行环境。根据知识库中的说明,鸿蒙平台和 App(Android 和 iOS)通常是分开并立的,App 相关的内容不能直接用到鸿蒙上。
建议您:
manifest.json配置是否正确,特别是与元服务不同的配置项如果后续知识库更新了相关内容,您可以再次查询。
knowmore (作者)
补充说明
要回复问题请先登录或注册
公告
更多>相关问题