Sometimes i want to try my game on my android mobile phone. Sometimes it works but sometimes it closes itself directly without any change on packaging options. Is there any app or program to see what is error why it crashes?
Hey there @nadmn! So we’re going to want to look at 2 different files, one is the log generated by Unreal and the log generated by the phone. Unreal logs can usually be found on your devices internal storage (or SD) in the game’s folder under \YourGameName\YourGameName\Saved\Logs.
For android devices there’s a command that grabs you the generated logs for most android devices adb logcat -d > my_device_log.txt that you’d run through Android Studio or on a command shell on the device.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Once you grab those files, you’ll need to read through them. UE crash logs have a callstack you’re looking for, but the logcat one’s you’ll need to look over as it’s everything on the device since it’s startup. Together both of them will help identify the crash.