HarmonyOS 鸿蒙Next:Currently module for 'libagccrypto.so' is not verified.大佬们,这个问题怎么解决啊?
HarmonyOS 鸿蒙Next:Currently module for ‘libagccrypto.so’ is not verified.大佬们,这个问题怎么解决啊?
[Compile Result] Currently module for ‘libagccrypto.so’ is not verified. If you’re importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared.
[Compile Result] [webpack-cli] TypeError: Cannot read properties of undefined (reading ‘replace’)
[Compile Result] at processNodeModulesFile (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\lib\gen_abc_plugin.js:1:8295)
[Compile Result] at processEtsModule (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\lib\gen_abc_plugin.js:1:9306)
[Compile Result] at D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\lib\gen_abc_plugin.js:1:13650
[Compile Result] at Set.forEach (<anonymous>)
[Compile Result] at handleFullModuleFiles (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\lib\gen_abc_plugin.js:1:13052)
[Compile Result] at GenAbcPlugin.handleFinishModules (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\lib\gen_abc_plugin.js:2:3272)
[Compile Result] at Hook.eval [as callAsync] (eval at create (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:40:1)
[Compile Result] at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
[Compile Result] at Compilation.finish (D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\node_modules\webpack\lib\Compilation.js:2714:28)
[Compile Result] at D:\Huawei\Sdk\openharmony\9\ets\build-tools\ets-loader\node_modules\webpack\lib\Compiler.js:1182:19
[Compile Result] Compile error occurred. Fix it based on the above message.
设备管理器运行华为手机模拟器有用,但是pages页面预览用不了
面对HarmonyOS鸿蒙系统中出现的“Currently module for ‘libagccrypto.so’ is not verified”问题,这通常意味着系统安全机制检测到某个模块(在此为libagccrypto.so库文件)未经官方验证或签名。以下是一些可能的解决步骤:
-
确认来源:首先确认libagccrypto.so文件是从官方或可信渠道获取的。非官方或篡改过的文件可能会导致验证失败。
-
系统更新:检查并安装最新的鸿蒙系统更新。有时,系统更新会修复已知的安全验证问题或添加对新模块的支持。
-
重新签名:如果您有权限和能力,可以尝试重新对libagccrypto.so文件进行签名,以符合鸿蒙系统的安全要求。但这通常涉及复杂的开发和安全知识。
-
检查开发者模式:在开发者选项中,查看是否有关于模块验证的设置,尝试调整这些设置以允许未验证模块的运行(注意,这可能降低系统安全性)。
-
联系开发者:如果libagccrypto.so是第三方开发的库,联系开发者获取帮助,确认是否存在已知的验证问题或提供已签名的版本。
如果问题依旧没法解决请联系官网客服,官网地址是:https://www.itying.com/category-93-b0.html