HarmonyOS [ecmascript] When the route jump, Cannot find module 'XXX'
使用navigation系统路由表导航+默认混淆规则,导致页面无法跳转
操作步骤:
1、使用Navigation系统路由表
2、配置默认混淆规则
-enable-property-obfuscation
-enable-toplevel-obfuscation
-enable-filename-obfuscation
-enable-export-obfuscation
3、使用release模式
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
HarmonyOS entry module中引用hsp报错cannot find record...
3652浏览 • 1回复 待解决
HarmonyOS Cannot set property when setter is undefined
1196浏览 • 1回复 待解决
Cannot find module '@ohos.application.Ability' or its corresponding type declarations.
15966浏览 • 1回复 待解决
HarmonyOS Cannot find name 'ESObject'
1391浏览 • 1回复 待解决
getContext 提示错误,Cannot find name 'getContext'
2165浏览 • 1回复 待解决
hvigor ERROR: Error, Cannot find module '@ohos/hvigor-ohos-plugin/src/utils/log/log-adaptor'
1154浏览 • 0回复 待解决
DevEco Studio 升级报错 Cannot find JAR 'jaxb-impl-2.3.2.jar' required by module 'gradle-resources-s3
8874浏览 • 2回复 已解决
HarmonyOS 调试报错TypeError:Cannot read property xxx of undefined
3382浏览 • 1回复 待解决
DevEco Studio出现Gradle sync failed: Cannot find JAR错误
6477浏览 • 1回复 待解决
HarmonyOS 报错Cannot find name 'backgroundColor'.
894浏览 • 1回复 待解决
HarmonyOS 如何实现一个ViewModelFactory,当前会报错cannot find name 'T'
845浏览 • 1回复 待解决
在TS文件里使用Concurrent注解报红,提示Cannot find name 'Concurrent'
2092浏览 • 1回复 待解决
为什么用$$已经实现双向绑定效果还是报Cannot find name '$$this'. <ArkTSCheck>
1601浏览 • 0回复 待解决
HarmonyOS route怎么销毁page
2684浏览 • 1回复 待解决
调试模式下 报Cause: Can't find any .so file in current module Solution
2865浏览 • 1回复 待解决
将一个文件,从原文件下移出后,Cannot find name 'CustomDialogExample',无法引用
1077浏览 • 1回复 待解决
HarmonyOS BLECharacteristic类型的全局变量可选变量如何设置,提示Cannot find name 'BLECharacteristic'.应该导入什么包
804浏览 • 1回复 待解决
定位授权配置中ability和when的作用范围?
3025浏览 • 1回复 待解决
HarmonyOS map["xxx"] 和 map.set("xxx") 不等价
920浏览 • 1回复 待解决
HarmonyOS 关于Navigation中,route_map.json的配置问题
2865浏览 • 1回复 待解决
Ubuntu中网络不可达,提示"Could not resolve 'xxx.xxx.com'",怎么解决?
12800浏览 • 1回复 待解决
HarmonyOS SourceTool.xxx值为undefined
1018浏览 • 1回复 待解决
文件被混淆了,参考文档:
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/source-obfuscation-V5