Android packaging error in unreal engine5.3

with this error logs, Packaging failed..
could you give me some advice please

UATHelper: 패키징 (Android (DXT)): Making .apk with Gradle...
UATHelper: 패키징 (Android (DXT)): To honour the JVM settings for this build a single-use Daemon process will be forked. See The Gradle Daemon.
UATHelper: 패키징 (Android (DXT)): Daemon will be stopped at the end of the build
UATHelper: 패키징 (Android (DXT)): FAILURE: Build failed with an exception.
UATHelper: 패키징 (Android (DXT)): * Where:
UATHelper: 패키징 (Android (DXT)): Build file 'Z:\app\build.gradle' line: 1
UATHelper: 패키징 (Android (DXT)): * What went wrong:
UATHelper: 패키징 (Android (DXT)): A problem occurred evaluating project ':app'.
UATHelper: 패키징 (Android (DXT)): > Failed to apply plugin 'com.android.internal.application'.
UATHelper: 패키징 (Android (DXT)): > Failed to get default debug keystore location.
UATHelper: 패키징 (Android (DXT)): * Try:
UATHelper: 패키징 (Android (DXT)): > Run with --stacktrace option to get the stack trace.
UATHelper: 패키징 (Android (DXT)): > Run with --info or --debug option to get more log output.
UATHelper: 패키징 (Android (DXT)): > Run with --scan to get full insights.
UATHelper: 패키징 (Android (DXT)): * Get more help at https://help.gradle.org
UATHelper: 패키징 (Android (DXT)): BUILD FAILED in 6s
UATHelper: 패키징 (Android (DXT)): cmd.exe failed with args /c "C:\Users\vrcrew\Documents\Unreal Projects\MagicLeap53Source\Intermediate\Android\x64\gradle\rungradle.bat" :app:assembleDebug
UATHelper: 패키징 (Android (DXT)): (see C:\UnrealEngine-5.3.2-release\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
UATHelper: 패키징 (Android (DXT)): AutomationTool executed for 0h 4m 8s
UATHelper: 패키징 (Android (DXT)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: 패키징 (Android (DXT)): BUILD FAILED

I’m sorry to hear that you are having trouble with Android packaging in Unreal Engine 5.3. Could you please provide more information about the issue? This does not seem to be a Magic Leap specific issue, but a general issue when building for Android

> Failed to apply plugin 'com.android.internal.application'.
> Failed to get default debug keystore location.

You may want to search the resources on the Unreal Engine forum for more insight on what could be causing the build to fail.

Epic Developer Community Forums (unrealengine.com)

You could also try some of the following steps

  • Verify Android SDK & NDK Setup
  • Clean and Rebuild
  • Verify or Generate the Debug Keystore

I reinstalled the android studio as the document is written and packaging success

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.