[求助]DevEco Studio编译systemui报错
DevEco Studio 版本:4.0.0.600 system ui源码从OpenHarmony-3.2-Release分支下载 full sdk版本为3.2.5.5,参考OpenHarmony如何将public-SDK替换为full-SDK,以支持更高系统API - 掘金 (juejin.cn)进行替换 参考此文章OpenHarmony SystemUI 3.2Release签名和编译_Ja
DevEco Studio 版本:4.0.0.600
system ui源码从OpenHarmony-3.2-Release分支下载
full sdk版本为3.2.5.5,参考OpenHarmony如何将public-SDK替换为full-SDK,以支持更高系统API - 掘金 (juejin.cn)进行替换
参考此文章OpenHarmony SystemUI 3.2Release签名和编译_Jackyu-Laval社区 (csdn.net)进行编译时出现如下报错:
> hvigor ERROR: Failed :phone_entry:default@BuildArkTS...
> hvigor ERROR: Tools execution failed.
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/Log
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/Log
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/abilitymanager/abilityManager
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/InitSystemUi
ETS:ERROR File: E:/project/openharmony/applications_systemui-OpenHarmony-3.2-Release/entry/phone/src/main/ets/Application/AbilityStage.ts:16:17
Cannot find module '@bundle:com.ohos.systemui/phone_entry/ets/default/Log' or its corresponding type declarations.
ETS:ERROR File: E:/project/openharmony/applications_systemui-OpenHarmony-3.2-Release/entry/phone/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts:17:17
Cannot find module '@bundle:com.ohos.systemui/phone_entry/ets/default/Log' or its corresponding type declarations.
ETS:ERROR File: E:/project/openharmony/applications_systemui-OpenHarmony-3.2-Release/entry/phone/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts:18:28
Cannot find module '@bundle:com.ohos.systemui/phone_entry/ets/default/abilitymanager/abilityManager' or its corresponding type declarations.
ETS:ERROR File: E:/project/openharmony/applications_systemui-OpenHarmony-3.2-Release/entry/phone/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts:19:26
Cannot find module '@bundle:com.ohos.systemui/phone_entry/ets/default/InitSystemUi' or its corresponding type declarations.
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/Log
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/Log
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/abilitymanager/abilityManager
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/InitSystemUi
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/Log
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/Log
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/InitSystemUi
ETS:ERROR Failed to resolve existed file by this ohm url @bundle:com.ohos.systemui/phone_entry/ets/default/abilitymanager/abilityManager
(node:15524) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Module not found: Error: Can't resolve '@bundle:com.ohos.systemui/phone_entry/ets/default/Log' in 'E:\project\openharmony\applications_systemui-OpenHarmony-3.2-Release\entry\phone\src\main\ets\Application'
Module not found: Error: Can't resolve '@bundle:com.ohos.systemui/phone_entry/ets/default/Log' in 'E:\project\openharmony\applications_systemui-OpenHarmony-3.2-Release\entry\phone\src\main\ets\ServiceExtAbility'
Module not found: Error: Can't resolve '@bundle:com.ohos.systemui/phone_entry/ets/default/abilitymanager/abilityManager' in 'E:\project\openharmony\applications_systemui-OpenHarmony-3.2-Release\entry\phone\src\main\ets\ServiceExtAbility'
Module not found: Error: Can't resolve '@bundle:com.ohos.systemui/phone_entry/ets/default/InitSystemUi' in 'E:\project\openharmony\applications_systemui-OpenHarmony-3.2-Release\entry\phone\src\main\ets\ServiceExtAbility'
COMPILE RESULT:FAIL {ERROR:8}
Detail: Please check the message from tools.
> hvigor ERROR: BUILD FAILED in 10 s 853 ms
更多推荐
所有评论(0)