Hello,
I am trying to package and test the Handehld AR project template in 4.24. Build is successful, But then it returns the following error:
LogPlayLevel: BUILD SUCCESSFUL in 1m 2s
LogPlayLevel: 66 actionable tasks: 66 executed
LogPlayLevel: Error: ERROR: cmd.exe failed with args /c "C:\Users\Administrator\Desktop\PenroseAR\Intermediate\Android\APK\gradle\rungradle.bat" :app:assembleDebug
LogPlayLevel: Took 112.3200284s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: UnrealBuildTool failed. See log for more details. (C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.24\UBT-Penrose_AR_Android-Android-Development.txt)
LogPlayLevel: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 111.674112
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
Following have been verified:
-
UE4.24 Launcher Install
-
CodeWorksforAndroid-1R7u1-windows.exe in 4.24 folder installed with all components at correct version
-
Android SDK license accepted in project settings
-
NVPack folders added to system environment variables
-
Android 11 XiaoMi device with USB debugging enabled (have prev. deployed to it successfully)
Does anyone know why the project wont deploy? Looking at the error it seems like something related to gradle.