Where can I find the UE4 log file on Android device?

So I’ve got a build of a UE4 game running on Android (SHIELD Tablet). However it seems to hang or not render anything but a black screen. Where can I find the equivalent of the log files found in /Engine/Save when running on the PC, but the version that would be generated while running on Android. Where are those files stored for the build that runs on Android?

I just took a look on my device (Samsung Galaxy Note 10.1) and found my logs in:

\MyProjectName\MyProjectName\Saved\Logs

I have also found that sometimes the engine crashes or hangs before it has a chance to log anything. In this case, try opening the app on your device while it is plugged in, then open a command prompt or terminal and type:

adb logcat -d > my_device_log.txt

This will spit out a device log file that might give you some hints as to what’s happening.

Hope that helps.

I use the Project Launcher to create an apk which I then install on the phone (Redmi Note 8 Pro - Android 11). Now the issue is that when you package and install this way there is no \MyProjectName folder. The game is installed in a private android folder which is inaccessible on PC.

Hence there is no log file at \MyProjectName\MyProjectName\Saved\Logs

adb logcat -d > my_device_log.txt also outputs the phone’s log, not the UE4 game’s log, which is what I need.

I even checked the option “Make log files always publicly accesible” in Project Settings>>Android but still can’t find any log file in either of the specified locations (/sdcard/Android or /sdcard/UE4Game)

Please help! Developing without logs is like flying blind!

1 Like

Another blind coder here. Have to raise this back from the dead.

How do I use abd to get the game log file? My ADB only record system log, not the game or UE logs.

ps. The funny part is that this thread get 10k+ views and no one really answers it.

For UE4 games running on Android, you can find the log files in the following location on the Android device:

/sdcard/Android/data/com.epicgames./files/UE4Game/Logs/

Replace with the actual package name or folder name of your UE4 game on the Android device. You can access these log files using Android file manager apps or by connecting your device to a computer and browsing the file system. These logs can provide valuable information for diagnosing issues with your UE4 game on Android.

this code use to work in unreal 4

bring up CMD then type

adb logcat -s UE4

use to tell me everything, now on unreal 5 it doesnt work

UE5 I found on \This PC\Galaxy A20s\Phone\Android\data\com.myStudios.my_game\files\UnrealGame\my_game\my_game\Saved\Logs