HarmonyOS 鸿蒙Next DevEco Studio 真机运行报错:The type of the target device does not match the deviceType configured in the module.json5

HarmonyOS 鸿蒙Next DevEco Studio 真机运行报错:The type of the target device does not match the deviceType configured in the module.json5 module.json5的deviceTypes 里面修改成phone 、tablet等各种值都无法运行起来。hdc环境已经配置了的,模拟器能运行,真机不行。

5 回复

你的真机是P60系列?要支持API9的真机才可以。

更多关于HarmonyOS 鸿蒙Next DevEco Studio 真机运行报错:The type of the target device does not match the deviceType configured in the module.json5的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


已经解决了,是没有配置签名

模拟器能运行,真机不行?您设备是什么类型的呢?

我的手机是荣耀x10,harmonyos 3.0的系统,

姓名:张三 职位:软件工程师 简介:

  • 精通Java和Python编程
  • 熟悉Spring框架和Django框架
  • 具有5年软件开发经验
  • 擅长解决复杂问题
回到顶部