Error: launching the game to Android Mobile

Hi, I was trying to package my game to Android. and it is deploying to Mobile in “development” fine.

But when I’m trying to deploy it with the “shipping” option, it shows an error.

LogPlayLevel: UAT: ********** DEPLOY COMMAND COMPLETED **********
LogPlayLevel: UAT: ********** RUN COMMAND STARTED **********
LogPlayLevel: UAT: UnrealTrace: Starting server
LogPlayLevel: UAT: Opening exist instance’s shared memory
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 273.388289
LogPlayLevel: UAT: Existing instance is the same age or newer
LogPlayLevel: UAT: Starting Client…
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY shell getprop ro.product.cpu.abi
LogPlayLevel: UAT: Took 0.08145050000000001s to run adb.exe, ExitCode=0
LogPlayLevel: UAT: GetPackageInfo ReturnValue: com.infinityone.MyProject
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY shell “echo $EXTERNAL_STORAGE”
LogPlayLevel: UAT: Took 0.07720690000000001s to run adb.exe, ExitCode=0
LogPlayLevel: UAT: Pushing ClientCmdLine to remote file /sdcard/UnrealGame/MyProject/UECommandLine.txt: -project=…/…/…/MyProject/MyProject.uproject /Game/Levels/LVL_MainMenu -Messaging -CrashForUAT -SessionId=31AA623D4E6D0A59E6DEC4A23F370583 -SessionOwner=“user” -SessionName=“Launch On Device”
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY push C:\Users\user\AppData\Local\Temp\tmp29C8.tmp /sdcard/UnrealGame/MyProject/UECommandLine.txt
LogPlayLevel: Error: UAT: adb: error: target '/sdcard/UnrealGame/MyProject/UECommandLine.txt' is not a directory
LogPlayLevel: UAT: Took 0.0611441s to run adb.exe, ExitCode=1
LogPlayLevel: UAT: Running Package@Device:com.infinityone.MyProject@1363986120000NY
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY logcat -c
LogPlayLevel: UAT: Took 0.27692880000000003s to run adb.exe, ExitCode=0
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY shell am start -n com.infinityone.MyProject/com.epicgames.unreal.GameActivity
LogPlayLevel: UAT: Starting: Intent { cmp=com.infinityone.MyProject/com.epicgames.unreal.GameActivity }
LogPlayLevel: UAT: Took 0.1485821s to run adb.exe, ExitCode=0
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY logcat -s UE debug Debug DEBUG
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY shell am force-stop com.infinityone.MyProject
LogPlayLevel: UAT: Took 0.0837589s to run adb.exe, ExitCode=0
LogPlayLevel: UAT: Running: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1363986120000NY logcat -d
LogPlayLevel: UAT: Took 0.2992296s to run adb.exe, ExitCode=0
LogPlayLevel: UAT: Client exited with error code: 0 (see C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\U+Unreal+Engine+5+UE_5.2\Client.log for more info)
LogPlayLevel: UAT: Run command time: 282.08 s
LogPlayLevel: UAT: ********** RUN COMMAND COMPLETED **********

are you packaging for distribution enabled? you generated and set the keys?
if not follow this video from ~min 14 that will tell you how to complete that part.

this part:

I did set everything but still not working. i’m still getting the error.

what about this:

nope not related, i didn’t use firebase.

I have same problem…


For me this solved it.