目录

解决鸿蒙App-LaunchTo-run-and-debug-the-Harmony-device,-configure-the-HarmonyOS-runtime.

目录

解决鸿蒙App Launch:To run and debug the Harmony device, configure the HarmonyOS runtime.

Error:

App Launch:

To run and debug the Harmony device, configure the HarmonyOS runtime.

在Harmony设备上运行和调试应用程序,需要配置HarmonyOS运行时环境。

解决:entry => build-profile.json5

https://i-blog.csdnimg.cn/direct/96de048941b740d58df474f7bcfba388.png

{
  "apiType": 'stageMode',
  "buildOption": {
  },
  "targets": [
    {
      "name": "default",
      "runtimeOS": "HarmonyOS"
    }
  ]