鸿蒙EevEcoStudio报错:The target or releaseType field in the config.json file does not match the device.
在这里插入图片描述
其实是版本问题
把config.json里"apiVersion"下的"releaseType": "Beta1"删去就好了
在这里插入图片描述
这个问题跟下面这个问题也有一定的关联
详情请看本人博客:
鸿蒙EevEcoStudio报错:Session ‘com.example.myapplication‘: Error Deploying HAP

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐