报错处理
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
`
解决办法:
删除build目录,重新构建文章来源:https://uudwc.com/A/Nx31X
完毕。文章来源地址https://uudwc.com/A/Nx31X