Search Issue Tracker

Fixed in 2021.3.20f1

Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a3

Votes

1

Found in

2020.3.44f1

2021.3.18f1

2022.2.5f1

2023.1.0b2

2023.2.0a2

Issue ID

UUM-25501

Regression

No

[Android] Update documentation for .androidpack requirements

Android

-

Repro steps:

  • open the attached project
  • switch target to Android
  • make sure .aab tick is enable
  • build this project 
  • notice the build fails with errors:

CommandInvokationFailure: Gradle build failed. 
C:\Program Files\Unity\Hub\Editor\2021.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2021.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease" 

(the errror continues - you can check out the attached Editor.log for more info.

 

Reproducible in 2021.3.18f1

Cannot repro in 2023.1 latest due to tools incompatibility. 

  1. Resolution Note (fix version 2023.2):

    Fix Android issue where a build would silently fail if there is an invalid file placement inside .androidlib

Add comment

Log in to post comment