打开DevEco打开工程报错To run and debug the Harmony device, configure the HarmonyOS runtime ?

打开DevEco打开工程报错To run and debug the Harmony device, configure the HarmonyOS runtime

image.png

阅读 1.5k
1 个回答

工程机目前是单框架的,可以到手机设置>关于手机>有个大大的HarmonyOS。也可以看IDE识别设备的下拉栏里看,是将当前设备识别为HarmonyOS设备了。

image.png

如果根据上述确定是HarmonyOS设备,到工程级build-profile.json5里将runtimeOS改为HarmonyOS。

image.png

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