Please check 'entry' module config.json, check whether the 'app' sub-tag 'apiVersion' label is notEm

从Gitee下载harmonyos_codelabs代码导入里边的SimpleVideoCodelab代码后显示

Please check 'entry' module config.json, check whether the 'app' sub-tag 'apiVersion' label is notEm-鸿蒙开发者社区 DevEco环境:

Please check 'entry' module config.json, check whether the 'app' sub-tag 'apiVersion' label is notEm-鸿蒙开发者社区

鸿蒙
HarmonyOS
OpenHarmony
2021-11-11 14:36:16
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
Claphame

这是因为你当前构建插件版本为2.4.2.7 这个版本会校验config.json里的apiVersion.

根据你的ide版本将插件更改为下面2个即可

classpath 'com.huawei.ohos:hap:2.4.5.0'
classpath 'com.huawei.ohos:decctest:2.1.0.6'

分享
微博
QQ
微信
回复
2021-11-12 09:01:28
相关问题
API 版本适配config.json
6624浏览 • 1回复 待解决
如何调用config.json中的数据项
9200浏览 • 2回复 待解决
entry下的module.json5中包含哪些信息?
20696浏览 • 2回复 待解决
Open PreviewerLog to check for details.
1371浏览 • 1回复 待解决
App Launch: Module missing.
5629浏览 • 1回复 待解决