NDK, SDK, JAVA_Home - I'm confuse and I can't launch my game to Android

I am using UE5.1.1 and I have followed so many tutorials with no luck. I have installed several versions of SDKs and NDKs and JREs and I have no idea which ones I need and which ones I don’t. Below is my log and I have attached several pictures for reference. I am pretty sure I have the SDK and NDK figured out but the JAVA is kicking my butt. Please let me know what information is needed to help. Thank you so much!

Log
LogPlayLevel: UAT: ==== OBB data file up to date so not writing. ====
LogPlayLevel: UAT: DebugVulkanLayerDirectory
LogPlayLevel: UAT: File C:/Program Files/Epic Games/UE_5.1/Engine/Source/ThirdParty/HWCPipe/lib/arm64-v8a/libhwcpipe.so copied to C:/Builds/Alien Airspace/Engine/AlienAirspace 5.0 5.1/Intermediate/Android/arm64/libs/arm64-v8a/libhwcpipe.so
LogPlayLevel: UAT: Copying libhwcpipe.so
LogPlayLevel: UAT: File C:/Program Files/Epic Games/UE_5.1/Engine/Source/ThirdParty/heapprofd/arm64-v8a/libheapprofd_standalone_client.so copied to C:/Builds/Alien Airspace/Engine/AlienAirspace 5.0 5.1/Intermediate/Android/arm64/libs/arm64-v8a/libheapprofd_standalone_client.so
LogPlayLevel: UAT: Copying heapprofd_standalone_client.so
LogPlayLevel: UAT:
LogPlayLevel: UAT: ====5/7/2023 8:20:36 PM====PERFORMING FINAL APK PACKAGE OPERATION=====-arm64===========================================
LogPlayLevel: UAT: Copied file C:\Builds\Alien Airspace\Engine\AlienAirspace 5.0 5.1\Intermediate\Android\arm64\gradle\app\src\main\assets\UECommandLine.txt.
LogPlayLevel: UAT: Fixing minSdkVersion; NDK level is 33 which is above minSdkVersion 26.
LogPlayLevel: UAT:
LogPlayLevel: UAT: Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
LogPlayLevel: UAT: Making .apk with Gradle…
LogPlayLevel: UAT: To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: The Gradle Daemon.
LogPlayLevel: UAT: Daemon will be stopped at the end of the build stopping after processing
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
LogPlayLevel: Warning: UAT: Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
LogPlayLevel: Warning: UAT: Warning: unexpected element (uri:“”, local:“base-extension”). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
LogPlayLevel: UAT: > Task :app:preBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :app:preDebugBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:preBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:preDebugBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:compileDebugAidl NO-SOURCE
LogPlayLevel: UAT: > Task :permission_library:preBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :permission_library:preDebugBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:packageDebugRenderscript NO-SOURCE
LogPlayLevel: UAT: > Task :permission_library:packageDebugRenderscript NO-SOURCE
LogPlayLevel: UAT: > Task :app:compileDebugRenderscript NO-SOURCE
LogPlayLevel: UAT: > Task :app:generateDebugBuildConfig UP-TO-DATE
LogPlayLevel: UAT: > Task :app:javaPreCompileDebug UP-TO-DATE
LogPlayLevel: UAT: > Task :permission_library:compileDebugAidl NO-SOURCE
LogPlayLevel: UAT:
LogPlayLevel: UAT: > Task :app:compileDebugAidl FAILED
LogPlayLevel: Error: UAT: ERROR: Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl:1.1-2: syntax error, unexpected unrecognized character
LogPlayLevel: UAT:
LogPlayLevel: UAT:
LogPlayLevel: UAT: FAILURE: Build failed with an exception.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * What went wrong:
LogPlayLevel: UAT: Execution failed for task ‘:app:compileDebugAidl’.
LogPlayLevel: UAT: > 1 exception was raised by workers:
LogPlayLevel: UAT: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\NerdCave\AppData\Local\Android\Sdk\build-tools\30.0.3\aidl.exe with arguments {-pC:\Users\NerdCave\AppData\Local\Android\Sdk\platforms\android-32\framework.aidl -oZ:\app\build\generated\aidl_source_output_dir\debug\out -IZ:\app\src\main\java -IZ:\app\src\debug\aidl -IC:\Users\NerdCave.gradle\caches\transforms-2\files-2.1\ffc4098914b91b7860907277c6a73623\media-1.0.0\aidl -IC:\Users\NerdCave.gradle\caches\trans
forms-2\files-2.1\ccb20ed30836142a5a66c164bb92a0ce\core-1.2.0\aidl -IC:\Users\NerdCave.gradle\caches\transforms-2\files-2.1\3c1a5ebf565097fe10667d6b9a2c1703\versionedparcelable-1.1.0\aidl -IZ:\downloader_library\build\intermediates\aidl_parcelable\debug\out -IZ:\permission_library\build\intermediates\aidl_parcelable\debug\out -dC:\Users\NerdCave\AppData\Local\Temp\aidl11592611461452309885.d Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl}
LogPlayLevel: UAT:
LogPlayLevel: UAT:
LogPlayLevel: UAT: * Try:
LogPlayLevel: UAT: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * Get more help at https://help.gradle.org
LogPlayLevel: UAT:
LogPlayLevel: UAT: BUILD FAILED in 6s
LogPlayLevel: UAT: 3 actionable tasks: 1 executed, 2 up-to-date
LogPlayLevel: Error: UAT: ERROR: cmd.exe failed with args /c “C:\Builds\Alien Airspace\Engine\AlienAirspace 5.0 5.1\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
LogPlayLevel: UAT: (see C:\Users\NerdCave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
LogPlayLevel: UAT: AutomationTool executed for 0h 0m 27s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Launch Task, Time: 27.781896
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error3




First , check what API level your device need in Device Details inside Unreal with your device connected. you will see something like this
APILevel

After that, you install only Android Studio 4.0 which come with the java version you need, you don’t need to install another java version.

Once you install Android Studio 4.0 go into the Configure windows and make sure you install Android SDK Command-Line Tools 8.0.

Install the API level you need from the SDK Platform.

Install CMake 3.10.2.4 from the SDK tools.

Install Android SDK Build-Tools from the SDK tools. I use 28.0.3, 29.0.3 and 30.03.

Now go to your “Engine/extras/Android” folder and run “SetupAndroid.bat”, this will install the NDK your engine will use.

Hope this help you.

2 Likes

Thank you so much for the reply. I appreciate you very much!

I will try this as soon as I get home from work.

Do you have a clean copy of the txt file for SetupAndroid.bat and SetupAndroid.txt, or do you know how I can get a fresh copy? If I delete those files then run the engine verify from Epic Launcher, will that replace the files?
I have changed these files a few times and I am afraid I might have screwed them up. Thank you!

Running the Verify from the Launcher should fix them.

Also, where does Android studio install the version of JRE that I need to point to in unreal engine SDK Android settings?

C:/Program Files/Android/Android Studio/jre

Thank you again for all of your help. I greatly appreciate you!

OK, I have successfully done the steps including the setupandroid.bat which ran successfully. I am still getting “Launch failed” and my log is below. Do you have any ideas? It looks to me like something is wrong with the java android licensing.

I think this is the problem…
LogPlayLevel: Error: UAT: ERROR: Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl:1.1-2: syntax error, unexpected unrecognized character

LOG
LogPlayLevel: UAT: ====5/8/2023 11:30:32 AM====PERFORMING FINAL APK PACKAGE OPERATION=====-arm64===========================================
LogPlayLevel: UAT: Copied file C:\Builds\Alien Airspace\Engine\AlienAirspace 5.0 5.1\Intermediate\Android\arm64\gradle\app\src\main\assets\UECommandLine.txt.
LogPlayLevel: UAT: Fixing minSdkVersion; NDK level is 33 which is above minSdkVersion 26.
LogPlayLevel: UAT:
LogPlayLevel: UAT: Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
LogPlayLevel: UAT: Making .apk with Gradle…
LogPlayLevel: UAT: To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: The Gradle Daemon.
LogPlayLevel: UAT: Daemon will be stopped at the end of the build stopping after processing
LogPlayLevel: UAT: > Task :app:preBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :app:preDebugBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:preBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:preDebugBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:compileDebugAidl NO-SOURCE
LogPlayLevel: UAT: > Task :permission_library:preBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :permission_library:preDebugBuild UP-TO-DATE
LogPlayLevel: UAT: > Task :downloader_library:packageDebugRenderscript NO-SOURCE
LogPlayLevel: UAT: > Task :permission_library:packageDebugRenderscript NO-SOURCE
LogPlayLevel: UAT: > Task :app:compileDebugRenderscript NO-SOURCE
LogPlayLevel: UAT: > Task :app:generateDebugBuildConfig UP-TO-DATE
LogPlayLevel: UAT: > Task :app:javaPreCompileDebug UP-TO-DATE
LogPlayLevel: UAT: > Task :permission_library:compileDebugAidl NO-SOURCE
LogPlayLevel: UAT:
LogPlayLevel: UAT: > Task :app:compileDebugAidl FAILED
LogPlayLevel: Error: UAT: ERROR: Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl:1.1-2: syntax error, unexpected unrecognized character
LogPlayLevel: UAT:
LogPlayLevel: UAT:
LogPlayLevel: UAT: FAILURE: Build failed with an exception.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * What went wrong:
LogPlayLevel: UAT: Execution failed for task ‘:app:compileDebugAidl’.
LogPlayLevel: UAT: > 1 exception was raised by workers:
LogPlayLevel: UAT: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\NerdCave\AppData\Local\Android\Sdk\build-tools\30.0.3\aidl.exe with arguments {-pC:\Users\NerdCave\AppData\Local\Android\Sdk\platforms\android-32\framework.aidl -oZ:\app\build\generated\aidl_source_output_dir\debug\out -IZ:\app\src\main\java -IZ:\app\src\debug\aidl -IC:\Users\NerdCave.gradle\caches\transforms-2\files-2.1\ffc4098914b91b7860907277c6a73623\media-1.0.0\aidl -IC:\Users\NerdCave.gradle\caches\trans
forms-2\files-2.1\ccb20ed30836142a5a66c164bb92a0ce\core-1.2.0\aidl -IC:\Users\NerdCave.gradle\caches\transforms-2\files-2.1\3c1a5ebf565097fe10667d6b9a2c1703\versionedparcelable-1.1.0\aidl -IZ:\downloader_library\build\intermediates\aidl_parcelable\debug\out -IZ:\permission_library\build\intermediates\aidl_parcelable\debug\out -dC:\Users\NerdCave\AppData\Local\Temp\aidl4753535317359083838.d Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl}
LogPlayLevel: UAT:
LogPlayLevel: UAT:
LogPlayLevel: UAT: * Try:
LogPlayLevel: UAT: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * Get more help at https://help.gradle.org
LogPlayLevel: UAT:
LogPlayLevel: UAT: BUILD FAILED in 7s
LogPlayLevel: UAT: 3 actionable tasks: 1 executed, 2 up-to-date
LogPlayLevel: Error: UAT: ERROR: cmd.exe failed with args /c "C:\Builds\Alien Airspace\Engine\AlienAirspace 5.0 5.1\Intermediate\Android\arm64\gradle\rungradle.bat" :app:assembleDebug
LogPlayLevel: UAT: (see C:\Users\NerdCave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
LogPlayLevel: UAT: AutomationTool executed for 0h 0m 33s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Launch Task, Time: 34.050611
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error

Did you uninstall the previous Java ?
Did you update in your project setting your SDK paths ?
Why you using API 33 ? try with 32 or 31.

Also in you username folder like C:/Users/yourUsername/. there is a .gradle folder , delete it. it can have old setting from the previous Java.

I believe I uninstalled all java versions. I will check when I get home. ( I was messing with this on my lunch break)

Are the SDK/NDK paths in the picture incorrect? I know the JRE path is wrong but what should the SDK and NDK path be?

When I went to device details in Unreal it told me my phone was using API 33. Will it still work if I use an older API like 31??

I will delete the gradle file before I attempt again.

Thank you so much and I am sorry for being so novice.

I have uninstalled all versions of Java, deleted the .gradle folder, and changed to API 31.

I double-checked the SDK NDK paths and they look correct to me. I am not sure which version of NDK to use. Which one works for you?

It keeps failing and giving a Java licensing error. Do you have any other Ideas to try? Thanks again!

ERROR: Z:\app\src\main\java\com\android\vending\licensing

The paths in the picture look good not for the jre.
If your phone has API 33 install API 33 in Android Studio.
The NDK is the one SetupAndroid.bat download which is 25 I think.

For the license issue you can go to your $ANDROID_HOME/tools/bin and run
./sdkmanager --licenses

I am so sorry I just can’t get this to package my game. I have a picture of my current SDK settings and Android setting on UE5. I deleted all of the NDKs I had and ran the setupandroid.bat to download the correct one.


UATHelper: Packaging (Android (ASTC)): ====5/8/2023 2:57:38 PM====PERFORMING FINAL APK PACKAGE OPERATION=====-arm64===========================================
UATHelper: Packaging (Android (ASTC)): Copied file C:\Builds\Alien Airspace\Engine\AlienAirspace 5.0 5.1\Intermediate\Android\arm64\gradle\app\src\main\assets\main.obb.png.
UATHelper: Packaging (Android (ASTC)): Fixing minSdkVersion; NDK level is 33 which is above minSdkVersion 26.
UATHelper: Packaging (Android (ASTC)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
UATHelper: Packaging (Android (ASTC)): Making .apk with Gradle…
UATHelper: Packaging (Android (ASTC)): To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: The Gradle Daemon.
UATHelper: Packaging (Android (ASTC)): Daemon will be stopped at the end of the build stopping after processing
UATHelper: Packaging (Android (ASTC)): > Task :app:preBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:preDebugBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:preBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:preDebugBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugAidl NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:preBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:preDebugBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:packageDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:packageDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugBuildConfig UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:javaPreCompileDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugAidl NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugAidl FAILED
UATHelper: Packaging (Android (ASTC)): ERROR: Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl:1.1-2: syntax error, unexpected unrecognized character
UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ASTC)): * What went wrong:
UATHelper: Packaging (Android (ASTC)): Execution failed for task ‘:app:compileDebugAidl’.
UATHelper: Packaging (Android (ASTC)): > 1 exception was raised by workers:
UATHelper: Packaging (Android (ASTC)): java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\NerdCave\AppData\Local\Android\Sdk\build-tools\30.0.3\aidl.exe with arguments {-pC:\Users\NerdCave\AppData\Local\Android\Sdk\platforms\android-32\framework.aidl -oZ:\app\build\generated\aidl_source_output_dir\debug\out -IZ:\app\src\main\java -IZ:\app\src\debug\aidl -IC:\Users\NerdCave.gradle\caches\transforms-2\files-2.1\ffc4098914b91b7860907277c6a73623\media-1.0.0\aidl -IC:\Users\NerdCave
.gradle\caches\transforms-2\files-2.1\ccb20ed30836142a5a66c164bb92a0ce\core-1.2.0\aidl -IC:\Users\NerdCave.gradle\caches\transforms-2\files-2.1\3c1a5ebf565097fe10667d6b9a2c1703\versionedparcelable-1.1.0\aidl -IZ:\downloader_library\build\intermediates\aidl_parcelable\debug\out -IZ:\permission_library\build\intermediates\aidl_parcelable\debug\out -dC:\Users\NerdCave\AppData\Local\Temp\aidl563484046798132797.d Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl}
UATHelper: Packaging (Android (ASTC)): * Try:
UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
UATHelper: Packaging (Android (ASTC)): 3 actionable tasks: 1 executed, 2 up-to-date
UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 6s
UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c “C:\Builds\Alien Airspace\Engine\AlienAirspace 5.0 5.1\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
UATHelper: Packaging (Android (ASTC)): (see C:\Users\NerdCave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 38s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error
LogAudioMixer: Warning: Decoder Error, stopping source [CompileFailed]

I use these settings to package for a s21 android. I’m not the best person to take advice from but from what I remember using latest as the ndk api level causes packaging to fail for me. Your java location doesn’t seem right. I have that some location on my drive but it’s not what I use for my java directory. Maybe both work, I do not know but it’s something to look into.

Ok I am getting closer. Packaging does not throgh the licensing error any longer after I referenced a new JDK. Now I am getting the error below. Any Idea?

UATHelper: Packaging (Android (ASTC)): Build file ‘Z:\app\build.gradle’ line: 1
UATHelper: Packaging (Android (ASTC)): * What went wrong:
UATHelper: Packaging (Android (ASTC)): A problem occurred evaluating project ‘:app’.
UATHelper: Packaging (Android (ASTC)): > Uninitialized object exists on backward branch 45
UATHelper: Packaging (Android (ASTC)): Exception Details:
UATHelper: Packaging (Android (ASTC)): Location:
UATHelper: Packaging (Android (ASTC)): com/android/tools/build/jetifier/core/proguard/ProGuardTypesMap.([Lkotlin/Pair;)V @101: goto
UATHelper: Packaging (Android (ASTC)): Reason:
UATHelper: Packaging (Android (ASTC)): Error exists in the bytecode
UATHelper: Packaging (Android (ASTC)): Bytecode:
UATHelper: Packaging (Android (ASTC)): 0000000: 2b12 bfb8 008d 2a2b 4d3a 0d03 3e2c 3a04
UATHelper: Packaging (Android (ASTC)): 0000010: bb00 2459 2cbe b700 2cc0 002e 3a05 0336
UATHelper: Packaging (Android (ASTC)): 0000020: 0619 043a 0719 07be 3608 0336 0915 0915
UATHelper: Packaging (Android (ASTC)): 0000030: 08a2 0037 1907 1509 323a 0a19 0519 0a3a
UATHelper: Packaging (Android (ASTC)): 0000040: 0b3a 0e03 360c 190b b600 d419 0bb6 00d7
UATHelper: Packaging (Android (ASTC)): 0000050: b800 b6b8 0065 3a0f 190e 190f b900 5902
UATHelper: Packaging (Android (ASTC)): 0000060: 0057 8409 01a7 ffc8 1905 c000 5b3a 0e19
UATHelper: Packaging (Android (ASTC)): 0000070: 0d19 0ec0 004e b800 6bb7 00b7 b1
UATHelper: Packaging (Android (ASTC)): Stackmap Table:
UATHelper: Packaging (Android (ASTC)): full_frame(@45,{UninitializedThis,Object[#220],Object[#220],Integer,Object[#220],Object[#46],Integer,Object[#220],Integer,Integer,Top,Top,Top,UninitializedThis},{})
UATHelper: Packaging (Android (ASTC)): same_frame(@104)
UATHelper: Packaging (Android (ASTC)): * Try:
UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 3s
UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c “C:\Builds\Alien Airspace\Engine\AlienAirspace 5.1\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
UATHelper: Packaging (Android (ASTC)): (see C:\Users\NerdCave\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 52s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error
LogAudioMixer: Warning: Decoder Error, stopping source [CompileFailed]

I use always the same number in the Minimum and Target SDK.

I have no idea about that error :smile:

Try to delete your intermediate folder.

Holy cow you did it!!! Is there any way I can tip you for all of your effort?

Happy for you my friend :wink: