当前位置:   article > 正文

ERROR: Failed :entry:default@GenerateShellResource处理办法_error: failed :entry:default@compilearkts...

error: failed :entry:default@compilearkts...

报错处理


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 
`
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

image.png

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

image-20221201174349789
完毕。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/329716
推荐阅读
相关标签
  

闽ICP备14008679号