开发工具: DevEco Studio 3.1.1

 

版本:Openharmony-3.2-release

full-sdk版本: 3.2.15.4 

 

问题1: 导入applications\standard\contacts 在DevEco Studio 3.1.1图片及报错信息如下:

contacts报错信息:

> hvigor ERROR: Failed :entry:default@CompileArkTS... 
> hvigor ERROR: Could not load E:\harmonyos_workspace-prj\stand-application\contacts\common\index.ets (imported by entry/src/main/ets/StaticSubscriber/StaticSubscriber.ts): parsed module meta info error: can not parsed local dependency E:\harmonyos_workspace-prj\stand-application\contacts\common\index.ets module.json info
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/contacts/entry/src/main/ets/pages/dialer/DialerTablet.ets:183: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/contacts/entry/src/main/ets/pages/dialer/callRecord/CallRecord.ets:26: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/contacts/entry/src/main/ets/pages/contacts/batchselectcontacts/BatchSelectContactsPage.ets:28: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/contacts/entry/src/main/ets/pages/contacts/batchselectcontacts/SingleSelectContactPage.ets:26: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/contacts/entry/src/main/ets/pages/contacts/ContactList.ets:29:1
 It's not a recommended way to export struct with @Entry decorator, which may cause ACE Engine error in component preview mode.
COMPILE RESULT:FAIL {ERROR:1 WARN:5}
> hvigor ERROR: BUILD FAILED in 20 s 646 ms 

 

 

换成IDE为3.0.0.993,依然报错,求解

Logo

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

更多推荐