标题: 根据集成指引,编译没问题,启动app时崩溃,报Couldn't create bindings between ETS and CPP. libRNOHApp is undefined. [打印本页] 作者: yuexc 时间: 2025-2-10 08:18 标题: 根据集成指引,编译没问题,启动app时崩溃,报Couldn't create bindings between ETS and CPP. libRNOHApp is undefined. [md]### 【问题描述】
Error message:Couldn't create bindings between ETS and CPP. libRNOHApp is undefined.
Stacktrace:
at RNOHError (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/RNOHError.ts:31:5)
at FatalRNOHError (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/RNOHError.ts:1:10)
at onInit (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/NapiBridge.ts:83:19)
at create (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/RNInstancesCoordinator.ets:112:7)
at onCreate (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/RNAbility.ets:89:35)
Error message:First attempt: load app module failed. do\_dlsym failed: Symbol not found: NAPI\_net\_http\_GetABCCode, version: null so=/system/lib64/module/net/libhttp.z.so
Second attempt: load app module failed. Error loading path /system/lib64/module/librnoh\_app\_napi.z.so:No such file or directory
try to load abc file from /system/etc/abc/rnoh\_app.abc failed
Stacktrace:
at onInit (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/NapiBridge.ts:90:12)
at create (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/RNInstancesCoordinator.ets:112:7)
at onCreate (oh\_modules/.ohpm/@rnoh+react-native-openharmony@0.72.46/oh\_modules/@rnoh/react-native-openharmony/src/main/ets/RNOH/RNAbility.ets:89:35)