这个崩溃已经是clean data,run之后的了,还是经常出现。
08-26 11:50:53.260 13635 13635 W C03F01/xxx/NAPI: [(native_module_manager.cpp:613)(LoadNativeModule)] module 'core.scan.scanBarcode' does not in cache
08-26 11:50:53.260 13635 13635 E C03F00/MUSL-LDSO: Open absolute_path library: check ns accessible failed, pathname /system/lib64/module/hms/core/scan/libscanbarcode.z.so namespace ndk.
08-26 11:50:53.260 13635 13635 E C03F00/MUSL-LDSO: Error loading header /system/lib64/module/hms/core/scan/libscanbarcode.z.so, namespace ndk has no inherits, errno=2
08-26 11:50:53.260 13635 13635 E C03F00/MUSL-LDSO: Error loading header: can't find library /system/lib64/module/hms/core/scan/libscanbarcode.z.so in namespace: default
08-26 11:50:53.260 13635 13635 E C03F00/MUSL-LDSO: dlopen_impl load library header failed for /system/lib64/module/hms/core/scan/libscanbarcode.z.so
08-26 11:50:53.261 13635 13635 W C03F01/xxx/NAPI: [(native_module_manager.cpp:613)(LoadNativeModule)] module 'core.scan.scanCore' does not in cache
08-26 11:50:53.261 13635 13635 E C03F00/MUSL-LDSO: Open absolute_path library: check ns accessible failed, pathname /system/lib64/module/hms/core/scan/libscancore.z.so namespace ndk.
08-26 11:50:53.261 13635 13635 E C03F00/MUSL-LDSO: Error loading header /system/lib64/module/hms/core/scan/libscancore.z.so, namespace ndk has no inherits, errno=2
是多线程问题,需要将多线程检测打开后重现:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/ide-multi-thread-check-V5