Build task failed. Open the Run window to view details.

问题描述

在使用deveco-studio 开发工具进行HarmonyOS第一个应用构建开发时,通过Previewer预览页面时报错,报错信息为:Build task failed. Open the Run window to view details.

如图所示:

Build task failed. Open the Run window to view details._第1张图片

问题解决

在设置中,找到Build->Hvigor将Enable the Daemon for tasks选项给关掉。如图:

Build task failed. Open the Run window to view details._第2张图片

问题解决了,Previewer预览页面可以正常使用:

Build task failed. Open the Run window to view details._第3张图片

关注我,我们一起成长

Build task failed. Open the Run window to view details._第4张图片

你可能感兴趣的:(HarmonyOS,harmonyos,华为)