报错如下:
Error message:Couldn't create bindings between ETS and CPP. libRNOHApp is undefined.
SourceCode:
super(data.whatHappened);
^
Stacktrace:
at RNOHError (react_native_openharmony/src/main/ets/RNOH/RNOHError.ts:17:5)
at FatalRNOHError (react_native_openharmony/src/main/ets/RNOH/RNOHError.ts:1:1)
at onInit (react_native_openharmony/src/main/ets/RNOH/NapiBridge.ts:34:19)
at create (react_native_openharmony/src/main/ets/RNOH/RNInstancesCoordinator.ets:71:32)
at onCreate (react_native_openharmony/src/main/ets/RNOH/RNAbility.ets:73:35)
在处理网络请求时,使用librcp\_c.so代替,已成功实现目标功能。