ERROR: Failed :entry:default@GenerateShellResource处理办法

报错处理


r ERROR: Failed :entry:default@GenerateShellResource... 
> hvigor ERROR: A problem occurred in entry module:
         ERROR: Cause: Tools execution failed.
Command failed with exit code 1: C:\Users\jianguo\AppData\Local\Huawei\
Sdk\hmscore\3.0.0_8\toolchains\install-assistant\aapt2.exe link -I C:\U
sers\jianguo\AppData\Local\Huawei\Sdk\hmscore\3.0.0_8\toolchains\instal
l-assistant\lib\android.jar D:\code\HarmonyOS\8\Location\entry\build\de
fault\intermediates\shell\default\build\res\res.zip --manifest D:\code\
HarmonyOS\8\Location\entry\build\default\intermediates\shell\default\sr
c\main\AndroidManifest.xml -o D:\code\HarmonyOS\8\Location\entry\build\
default\intermediates\shell\default\build\res\linked_res.zip
         ERROR: Solution: Please check the message from tools.

> hvigor ERROR: BUILD FAILED in 1 s 651 ms 
`

image.png

解决办法:
删除build目录,重新构建

image-20221201174349789
完毕。

猜你喜欢

转载自blog.csdn.net/qq_39132095/article/details/128140369