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
5101浏览 • 1回复 待解决
如何调用config.json中的数据项
7135浏览 • 2回复 待解决
entry下的module.json5中包含哪些信息?
16188浏览 • 2回复 待解决
App Launch: Module missing.
3782浏览 • 1回复 待解决
HarmonyOS 出现 App Launch: Module missing.
8329浏览 • 1回复 待解决
entry中如何拉起另一个Module中的Ability
1930浏览 • 1回复 待解决
DevEco Studio工程同步提示LABEL_VALUE_ERROR
3096浏览 • 1回复 已解决
Please verify and then add 'mergeRule' in the HAP
4278浏览 • 1回复 待解决
redis config 持久化怎么设置?
1981浏览 • 1回复 待解决