HarmonyOS 鸿蒙Next编译带c++模块的工程报错:ERROR Failed to resolve OhmUrl

发布于 1周前 作者 ionicwang 来自 鸿蒙OS

HarmonyOS 鸿蒙Next编译带c++模块的工程报错:ERROR Failed to resolve OhmUrl
HarmonyOS的社区里有很多技术大牛分享经验,学到了很多有用的知识。

关于HarmonyOS 鸿蒙Next编译带c++模块的工程报错:ERROR Failed to resolve OhmUrl的问题,您也可以访问:https://www.itying.com/category-93-b0.html 联系官网客服。

4 回复

1 ERROR:  ArkTS:ERROR Failed to resolve OhmUrl.

Error Message: Failed to get a resolved OhmUrl for "hvigor_ignore__Users_xxx_base_audio_features_encoder_src_main_cpp_types_libaudio_encoder_Index.d.ts" imported by "/Users/xxx_base_audio/features/encoder/src/main/ets/xx/audio/enc/MpegEnc.ets".

* Try the following:

> Check whether the module which hvigor_ignore__Users_xxx_base_audio_features_encoder_src_main_cpp_types_libaudio_encoder_Index.d.ts belongs to is correctly configured.

> Check the corresponding file name is correct(including case-sensitivity). 

各项配置检查了都没问题

通过直接import so的方式解决了
楼主问题有解决吗,有一样的问题

找HarmonyOS工作还需要会Flutter的哦,有需要Flutter教程的可以学学大地老师的教程,很不错,B站免费学的哦:https://www.bilibili.com/video/BV1S4411E7LY/?p=17

回到顶部