Fetch the repository succeeded.
通过鸿蒙原生进入flutter页面时,在FlutterNapi.ets的init方法中,找不到flutter,如下图所示
同时该文件最上面的import flutter from 'libflutter.so';提示找不到libflutter.so文件
最后打印出来的错误日志如下
01-14 16:50:49.927 23718-23718 C03F00/MUSL-LDSO com.duola...tomer_hm E Error loading header libimage_ndk.z.so, namespace default has no inherits, errno=2
01-14 16:50:49.927 23718-23718 C03F00/MUSL-LDSO com.duola...tomer_hm E Error loading header libpixelmap_ndk.z.so, namespace default has no inherits, errno=2
01-14 16:50:49.929 23718-23718 C03F00/MUSL-LDSO com.duola...tomer_hm E relocating failed: symbol not found. dso=/data/storage/el1/bundle/libs/arm64/libflutter.so s=OH_ArkUI_AccessibilityElementInfoSetEditable use_vna_hash=0 van_hash=0
01-14 16:50:49.929 23718-23718 C03F01/com.duo...tomer_hm/NAPI com.duola...tomer_hm E [(native_module_manager.cpp:854)(LoadModuleLibrary)] First attempt: load app module failed. Error relocating /data/storage/el1/bundle/libs/arm64/libflutter.so: OH_ArkUI_AccessibilityElementInfoSetEditable: symbol not found
Second attempt: load module default/flutter failed. module path is empty
01-14 16:50:49.929 23718-23718 C03F01/com.duo...tomer_hm/NAPI com.duola...tomer_hm E [(native_module_manager.cpp:917)(GetFileBuffer)] is not existed.
01-14 16:50:49.929 23718-23718 C03F01/com.duo...tomer_hm/NAPI com.duola...tomer_hm E [(native_module_manager.cpp:1016)(FindNativeModuleByDisk)] First attempt: load app module failed. Error relocating /data/storage/el1/bundle/libs/arm64/libflutter.so: OH_ArkUI_AccessibilityElementInfoSetEditable: symbol not found
Second attempt: load module default/flutter failed. module path is empty
try to load abc file from failed
<!-- Paste your logs here -->
<!-- Paste your output here -->
+1。相同的报错,使用的是 ohos-3.22.0 版本
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
@aprogram 需要升级鸿蒙系统版本到最新的。。OH_ArkUI_AccessibilityElementInfoSetEditable 这个 API 需要 鸿蒙 API 13
嗯对的,现在不支持API 13以下了
Sign in to comment