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...
2143浏览 • 1回复 待解决
Cannot find module '@ohos.application.Ability' or its corresponding type declarations.
12881浏览 • 1回复 待解决
HarmonyOS Cannot set property when setter is undefined
389浏览 • 1回复 待解决
HarmonyOS Cannot find name 'ESObject'
498浏览 • 0回复 待解决
getContext 提示错误,Cannot find name 'getContext'
1353浏览 • 1回复 待解决
DevEco Studio 升级报错 Cannot find JAR 'jaxb-impl-2.3.2.jar' required by module 'gradle-resources-s3
8241浏览 • 2回复 已解决
HarmonyOS 调试报错TypeError:Cannot read property xxx of undefined
1407浏览 • 1回复 待解决
DevEco Studio出现Gradle sync failed: Cannot find JAR错误
5781浏览 • 1回复 待解决
HarmonyOS 报错Cannot find name 'backgroundColor'.
165浏览 • 1回复 待解决
HarmonyOS 如何实现一个ViewModelFactory,当前会报错cannot find name 'T'
245浏览 • 0回复 待解决
在TS文件里使用Concurrent注解报红,提示Cannot find name 'Concurrent'
1533浏览 • 1回复 待解决
将一个文件,从原文件下移出后,Cannot find name 'CustomDialogExample',无法引用
571浏览 • 1回复 待解决
调试模式下 报Cause: Can't find any .so file in current module Solution
2208浏览 • 1回复 待解决
HarmonyOS route怎么销毁page
1538浏览 • 1回复 待解决
HarmonyOS BLECharacteristic类型的全局变量可选变量如何设置,提示Cannot find name 'BLECharacteristic'.应该导入什么包
311浏览 • 1回复 待解决
HarmonyOS map["xxx"] 和 map.set("xxx") 不等价
397浏览 • 1回复 待解决
定位授权配置中ability和when的作用范围?
2255浏览 • 1回复 待解决
HarmonyOS 企业内APP 安装DeepLink格式:store://enterprise/manifest?url=https://xxx.xxx/xxx.json5问题
244浏览 • 1回复 待解决
HarmonyOS navPathStack.removeByName(xxx)
452浏览 • 1回复 待解决
HarmonyOS 关于Navigation中,route_map.json的配置问题
1342浏览 • 1回复 待解决
Ubuntu中网络不可达,提示"Could not resolve 'xxx.xxx.com'",怎么解决?
11445浏览 • 1回复 待解决
文件被混淆了,参考文档:
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/source-obfuscation-V5