ArkTs语言路由跳转踩坑
2023-11-14 本文已影响0人
CoderUp
问题描述:
由首页跳转到二级界面时,无法正常跳转,报错:
E 01510/BinderInvoker: 127: SendRequest: handle=1 result = 7
E 01700/RSS: ResSchedClient::Fail to connect resource schedule service.
E 03900/Ace: [manifest_router.cpp(GetPagePath)-(0)] [Engine Log] can't find this page pages/PasswordLoginPage path
E 03900/Ace: [page_router_manager.cpp(StartPush)-(0)] [Engine Log] this uri not support in route push.
E 03900/Ace: [<private>(<private>)] napi throw errCode <private> strMsg <private>
E 0FF00/MultiShopping: {"code":"100002"},
解决方案:
完成创建二级界面后,
![](https://img.haomeiwen.com/i5138016/ad01c2dd2b5bb3fa.png)
还需要所在的module下的resources/base/profile/main_pages.json文件内,
![](https://img.haomeiwen.com/i5138016/213f297445bdea1c.png)
增加二级界面所在路径信息.
![](https://img.haomeiwen.com/i5138016/ff5673bb90f8cadf.png)