当前位置:   article > 正文

HarmonyOS开发 使用云数据库(HarmonyOS ArkTS API9以上)【真机调试】遇到的so重名问题解决_detail: rename the native compilation products of

detail: rename the native compilation products of the module, or configure n

问题报错如下:

/usr/local/bin/node /Users/admin/.hvigor/project_caches/08e11114fe5d1e4ddd3877fbb7765185/workspace/node_modules/@ohos/hvigor/bin/hvigor.js --mode module -p module=entry@default -p product=default assembleHap
> hvigor UP-TO-DATE :entry:default@PreBuild...  
> hvigor UP-TO-DATE :entry:default@GenerateMetadata...  
> hvigor UP-TO-DATE :entry:default@MergeProfile...  
> hvigor Finished :entry:default@BuildNativeWithCmake... after 1 ms 
> hvigor UP-TO-DATE :entry:default@GenerateLoaderJson...  
> hvigor UP-TO-DATE :entry:default@MakePackInfo...  
> hvigor UP-TO-DATE :entry:default@ProcessProfile...  
> hvigor Finished :entry:default@BuildNativeWithNinja... after 1 ms 
> hvigor UP-TO-DATE :entry:default@ProcessResource...  
> hvigor ERROR: Failed :entry:default@ProcessLibs... 
> hvigor ERROR: 2 file found in 'lib/arm64-v8a/libagccrypto.so'. This may cause unexpected errors at runtime.
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+hmcore@1.0.2/oh_modules/@hw-agconnect/hmcore/libs/arm64-v8a/libagccrypto.so
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+crypto-ohos@1.1.2/oh_modules/@hw-agconnect/crypto-ohos/libs/arm64-v8a/libagccrypto.so
     2 file found in 'lib/arm64-v8a/libagcmbedtls.so'. This may cause unexpected errors at runtime.
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+hmcore@1.0.2/oh_modules/@hw-agconnect/hmcore/libs/arm64-v8a/libagcmbedtls.so
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+crypto-ohos@1.1.2/oh_modules/@hw-agconnect/crypto-ohos/libs/arm64-v8a/libagcmbedtls.so
     2 file found in 'lib/armeabi-v7a/libagccrypto.so'. This may cause unexpected errors at runtime.
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+hmcore@1.0.2/oh_modules/@hw-agconnect/hmcore/libs/armeabi-v7a/libagccrypto.so
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+crypto-ohos@1.1.2/oh_modules/@hw-agconnect/crypto-ohos/libs/armeabi-v7a/libagccrypto.so
     2 file found in 'lib/armeabi-v7a/libagcmbedtls.so'. This may cause unexpected errors at runtime.
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+hmcore@1.0.2/oh_modules/@hw-agconnect/hmcore/libs/armeabi-v7a/libagcmbedtls.so
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+crypto-ohos@1.1.2/oh_modules/@hw-agconnect/crypto-ohos/libs/armeabi-v7a/libagcmbedtls.so
     2 file found in 'lib/x86_64/libagccrypto.so'. This may cause unexpected errors at runtime.
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+hmcore@1.0.2/oh_modules/@hw-agconnect/hmcore/libs/x86_64/libagccrypto.so
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+crypto-ohos@1.1.2/oh_modules/@hw-agconnect/crypto-ohos/libs/x86_64/libagccrypto.so
     2 file found in 'lib/x86_64/libagcmbedtls.so'. This may cause unexpected errors at runtime.
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+hmcore@1.0.2/oh_modules/@hw-agconnect/hmcore/libs/x86_64/libagcmbedtls.so
     - /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/oh_modules/.ohpm/@hw-agconnect+crypto-ohos@1.1.2/oh_modules/@hw-agconnect/crypto-ohos/libs/x86_64/libagcmbedtls.so
     Detail: Rename the native compilation products of the module, or configure napiLibFilterOption in /Users/admin/DevEcoStudioProjects/relaxtomato/Application/entry/build-profile.json5.
> hvigor ERROR: BUILD FAILED in 383 ms 

Process finished with exit code -1

论坛大佬提供的解决方案

so重名了,按照文档配置一下试试!

文档中心

 

cke_474.png

 注意是在Entry下的build-profile.json5文件

 

重新构建 

成功解决

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/92082
推荐阅读
相关标签
  

闽ICP备14008679号