HarmonyOS 鸿蒙Next 求助 jscrash happened in xxx

HarmonyOS 鸿蒙Next 求助 jscrash happened in xxx

Device info:TNY-AL00 
Build info:TNY-AL00 10.1.0.162(C00E160R2P11)
Module name:com.ll.demo
Version:1.0.0
Pid:17962
Uid:10301
Reason:JS framework load js bundle failed
Lifetime: 0.000000s
Ability: com.ll.demo.MainAbility
page: pages/index.js
Js-Engine: v8
Stacktrace: ReferenceError: isSystemplugin is not defined
    at Object.../../../../../../../Desktop/DevEcoStudioProjects/demo/entry/src/main/ets/MainAbility/app.ets?entry (eval at yi (<embedded>:7:13111), <anonymous>:23:33)
    at eval (eval at yi (<embedded>:7:13111), <anonymous>:45:133)
    at eval (eval at yi (<embedded>:7:13111), <anonymous>:48:12)
    at eval (eval at yi (<embedded>:7:13111), <anonymous>:52:3)
    at yi (<embedded>:7:13174)
    at li (<embedded>:7:10804)
    at Object.gi [as createInstance] (<embedded>:7:13820)
    at Object.Ne [as createInstance] (<embedded>:3:20670)
    at global.<computed> (<embedded>:10:6682)

上面是日志信息,DevEco 版本是 3.0 release,设备是Honor Magic 2,系统版本是3.0.0。项目是IDE自带模版

更多关于HarmonyOS 鸿蒙Next 求助 jscrash happened in xxx的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于HarmonyOS 鸿蒙Next 求助 jscrash happened in xxx的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


在HarmonyOS鸿蒙Next中,jscrash happened in xxx通常表示在JavaScript运行时发生了崩溃。这类问题可能由多种原因引起,如内存泄漏、未捕获的异常、API调用错误等。开发者需要检查相关代码,特别是xxx部分,确保逻辑正确性和资源管理。可以使用鸿蒙提供的调试工具和分析日志来定位具体问题。

回到顶部