添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
焦虑的双杠  ·  Bazel build cache · ...·  3 周前    · 
无聊的大熊猫  ·  LINK : fatal error ...·  3 周前    · 
稳重的刺猬  ·  Undefined references ...·  3 周前    · 
不爱学习的柠檬  ·  GitHub - ...·  2 周前    · 
长情的紫菜汤  ·  Xcode 14 error Build ...·  2 周前    · 
气势凌人的跑步鞋  ·  Java 异常 ...·  5 月前    · 
玩篮球的柿子  ·  SR Max Product Search ...·  7 月前    · 
爽快的跑步机  ·  Postman SSL Cert - ...·  7 月前    · 

Hello everyone!

We have an issue with our game since we update Unity to 2020.3.Xf1 (16 & 24). When we want to build an APK to test, we have an issue with AAPT2 which failed for task ‘:launcher:processReleaseResources’ while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade.

Here’s the error we have:

FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':launcher:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > AAPT2 aapt2-4.0.1-6197926-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
     This should not happen under normal circumstances, please file an issue if it does.

So apparently this should not happen…We already tried to :

  • Upgrade gradle version
  • Have custom gradle.properties with modified org.gradle.jvmargs for instance.
  • Export an Android Studio project
  • So many stuff…
  • We’re targeting API 30 and our Unity version uses gradle 6.1.1.

    Thank you for your help and your time!

    With some luck we found the issue, we had to many files in StreamingAssets folder…

    For those with the same error it’s something to check :slight_smile:

    Have a nice day!