昨天开始学习鸿蒙开发,使用DevEcoStudio3.1.1版本,感觉和安卓开发类似。在仿真设备运行时,提示“ThetypeofthetargetdevicedoesnotmatchthedeviceTypeconfiguredinthemodule.json5fileoftheselectedmodule.”,修改module.json5配置,加上了default,以及相应的仿真设备执行,错误依旧。搞不懂是什么原因。在官方论坛查找解决方案,未果。有人知道是什么原因吗?
鸿蒙仿真错误type of the targ