随笔分类 -  HarmonyOS开发

HarmonyOS开发——编译错误集锦(升级v4.x版本后的ArkTSCheck)
摘要:1. Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals) 修改前: let permissionList = [ { name: '设备信息', val 阅读全文

posted @ 2024-10-14 11:42 逍遥云天 阅读(360) 评论(0) 推荐(0) 编辑

HarmonyOS开发—— Cannot find module '@kit.AbilityKit' or its corresponding type declarations. <ArkTSCheck>
摘要:异常现象: 下载的示例项目,引用 kit.AbilityKit 时报错如下: Cannot find module '@kit.AbilityKit' or its corresponding type declarations. <ArkTSCheck> 异常原因: 下载的示例项目不支持 kit. 阅读全文

posted @ 2024-10-10 15:48 逍遥云天 阅读(1022) 评论(0) 推荐(0) 编辑

HarmonyOS开发——编译报错“The reason and usedScene attributes are mandatory for user_grant permissions”
摘要:问题现象: DevEco Studio编译失败,提示“The reason and usedScene attributes are mandatory for user_grant permissions”。 问题原因: 从DevEco Studio NEXT Developer Preview2 阅读全文

posted @ 2024-10-10 10:52 逍遥云天 阅读(380) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示