项目场景:
项目无法在真机上运行。报错
hvigor ERROR: Failed :entry:default@ProcessLibs…
hvigor ERROR: 2 file found in ‘lib/arm64-v8a/libagccrypto.so’. This may cause unexpected errors at runtime.
问题描述
报错问题如下:
hvigor ERROR: Failed :entry:default@ProcessLibs…
hvigor ERROR: 2 file found in ‘lib/arm64-v8a/libagccrypto.so’. This may cause unexpected errors at runtime.
C:\Users\24190\DevEcoStudioProjects\arkwork\Application\entry\oh_modules.ohpm@hw-agconnect+[email]hmcore@1.0.0[/email]\oh_modules@hw-agconnect\hmcore\libs\arm64-v8a\libagccrypto.so
C:\Users\24190\DevEcoStudioProjects\arkwork\Application\entry\oh_modules.ohpm@hw-agconnect+[email]crypto-ohos@1.1.2[/email]
本文介绍了在鸿蒙开发中遇到的hvigor报错,问题源于SDK冲突。提出了解决方案,包括保留核心SDK,删除不再维护的SDK,清理构建缓存,以及检查和调整依赖关系。同时,对HarmonyOS的分布式技术、微内核架构等特性进行了简要介绍,强调了ArkTS作为HarmonyOS应用开发的重要语言。
订阅专栏 解锁全文
4268

被折叠的 条评论
为什么被折叠?



