OpenHarmony开发者论坛

标题: 用har包导入了个js项目,然后用hap调用,发现闪退 [打印本页]

作者: 深开鸿_王石    时间: 2024-4-23 17:47
标题: 用har包导入了个js项目,然后用hap调用,发现闪退
[md]错误日志如下:是啥意思呢

Build info:OpenHarmony 4.0.10.318
Module name:com.example.cryptojssample
Version:1.0.0
Pid:11247
Uid:20010068
Lifetime: 0.000000s
Js-Engine: ark
page: pages/Index.js
Error message: cannot find record 'com.example.cryptojssample/entry/js/sha256', please check the request path.'/data/storage/el1/bundle/entry/ets/modules.abc'.
Stacktrace:
=====================Backtrace========================
#01 pc 00000000002d1e47 /system/lib64/platformsdk/libark_jsruntime.so
#02 pc 00000000001e8943 /system/lib64/platformsdk/libark_jsruntime.so
#03 pc 000000000023b81b /system/lib64/platformsdk/libark_jsruntime.so
#04 pc 00000000004828af /system/lib64/platformsdk/libark_jsruntime.so
#05 pc 000000000047f5d3 /system/lib64/platformsdk/libark_jsruntime.so
#06 pc 0000000000437437 /system/lib64/platformsdk/libark_jsruntime.so
#07 pc 000000000043c307 /system/lib64/platformsdk/libark_jsruntime.so
#08 pc 000000000043f567 /system/lib64/platformsdk/libark_jsruntime.so
#09 pc 000000000043f623 /system/lib64/platformsdk/libark_jsruntime.so
#10 pc 000000000043f623 /system/lib64/platformsdk/libark_jsruntime.so
#11 pc 000000000043f143 /system/lib64/platformsdk/libark_jsruntime.so
#12 pc 000000000038cf27 /system/lib64/platformsdk/libark_jsruntime.so
#13 pc 000000000044f8c7 /system/lib64/platformsdk/libark_jsruntime.so
#14 pc 00000000017772b7 /system/lib64/platformsdk/libace.z.so
#15 pc 0000000001745e7f /system/lib64/platformsdk/libace.z.so
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5