运行应用提示:The type of the target device does not match,如何解决?

运行应用提示:The type of the target device does not match the deviceType configured in the module.json5 file of the selected module

阅读 1.9k
1 个回答

先使用hdc shell param get const.product.devicetype查询设备类型,在看每个模块的module.json5文件是否存在当前设备类型,如下图所示

image.png

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题