文档开发者中心
我的
|

元服务

deveco studio模拟器刚开始就启动不了,出现了harmonyos一直转圈,后来点了重装模型,好了,后来又启动不了了,就是一直在转圈

> hvigor ERROR: ArkTS Compiler Error

1 ERROR: 10505001 ArkTS Compiler Error

Error Message: Declaration or statement expected. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/ZodiacPage.ets:273:5

2 ERROR: 10505001 ArkTS Compiler Error

Error Message: Declaration or statement expected. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/ZodiacPage.ets:305:7

3 ERROR: 10505001 ArkTS Compiler Error

Error Message: Cannot find name 'margin'. Did you mean the instance member 'this.margin'? At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/ZodiacPage.ets:273:6

4 ERROR: 10505001 ArkTS Compiler Error

Error Message: Cannot find name 'margin'. Did you mean the instance member 'this.margin'? At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/ZodiacPage.ets:305:8

5 ERROR: 10505001 ArkTS Compiler Error

Error Message: Argument of type '{ icon: SaveIconStyle.FULL_FILLED; text: SaveDescription.SAVE_IMAGE; buttonType: ButtonType; fontSize: number; fontWeight: FontWeight; backgroundColor: string; padding: { ...; }; }' is not assignable to parameter of type 'SaveButtonOptions'.

  Object literal may only specify known properties, and 'fontSize' does not exist in type 'SaveButtonOptions'. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/SharePosterPage.ets:78:11

6 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/LunarConverterPage.ets:63:12

7 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/SharePosterPage.ets:101:12

8 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/PsychTestPage.ets:96:12

9 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/BaziReportPage.ets:337:12

10 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/ZodiacPage.ets:326:12

11 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/QimingPage.ets:364:12

12 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/CompanyNamePage.ets:298:12

13 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/FaceReadingPage.ets:233:12

14 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/WeatherPage.ets:187:12

15 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/PrivacyPolicyPage.ets:78:12

16 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/PalmReadingPage.ets:318:12

17 ERROR: 10905210 ArkTS Compiler Error

Error Message: In an '@Entry' decorated component, the 'build' method can have only one root node, which must be a container component. At File: J:/wo/jieshipin/QuanjiaYunshi/Application/entry/src/main/ets/pages/DreamPage.ets:164:12

COMPILE RESULT:FAIL {ERROR:18 WARN:113}

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --debug option to get more log output.

> hvigor ERROR: BUILD FAILED in 18 s 928 ms 

进程已结束,退出代码为 -1

点赞
收藏
回复
5
分享
举报
浏览123 发布于2026-07-05 09:32河南
全部评论
最多点赞
最新发布
最早发布
写回答
新增插入模板功能
一键使用模板,快速填写内容,轻松发帖~
知道了
  • 为了保障您的信息安全,请勿上传您的敏感个人信息(如您的密码等信息)和您的敏感资产信息(如关键源代码、签名私钥、调试安装包、业务日志等信息),且您需自行承担由此产生的信息泄露等安全风险。
  • 如您发布的内容为转载内容,请注明内容来源。

我要提问题

了解社区公约,与您携手共创和谐专业的开发者社区。