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
5774浏览 • 1回复 待解决
如何调用config.json中的数据项
7851浏览 • 2回复 待解决
entry下的module.json5中包含哪些信息?
19255浏览 • 2回复 待解决
Open PreviewerLog to check for details.
664浏览 • 1回复 待解决
App Launch: Module missing.
4565浏览 • 1回复 待解决
HarmonyOS 出现 App Launch: Module missing.
9154浏览 • 1回复 待解决
entry中如何拉起另一个Module中的Ability
2633浏览 • 1回复 待解决
module.json5配置文件中type的含义
76浏览 • 1回复 待解决