问题1: 导入applications\standard\settings 在DevEco Studio 3.1.1 缺少OpenHarmonyApplication.cer 和 OpenHarmony.p12,如何申请,并对settings进行系统签名

 

 

 

最新错误: 构建一个未签名的Settings.hap报错(20231130)

> hvigor ERROR: Failed :phone:default@CompileArkTS... 
> hvigor ERROR: Could not load E:\harmonyos_workspace-prj\stand-application\settings\common\component\src\main\ets\default\settingItemComponent.ets (imported by product/phone/src/main/ets/pages/settingList.ets): parsed module meta info error: can not parsed local dependency E:\harmonyos_workspace-prj\stand-application\settings\common\component\src\main\ets\default\settingItemComponent.ets module.json info
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/restoreFactorySettings.ets:29:23
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/volumeControl.ets:30:1
 It's not a recommended way to export struct with @Entry decorator, which may cause ACE Engine error in component preview mode.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/wifi.ets:800:24
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/developerOptions.ets:38:25
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/developerOptions.ets:198:24
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/passwordCheck.ets:53:33
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/passwordInput.ets:51:29
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/settings/product/phone/src/main/ets/pages/passwordInput.ets:52:32
 Please define an explicit type, not any.
COMPILE RESULT:FAIL {ERROR:1 WARN:8}
> hvigor ERROR: BUILD FAILED in 32 s 947 ms 

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐