# How to see why my app closes itself?

**URL:** <https://forums.unrealengine.com/t/how-to-see-why-my-app-closes-itself/696513>\
**Category:** Mobile\
**Tags:** Android, UE4-27, question\
**Created:** [November 22, 2022, 7:02am UTC](https://forums.unrealengine.com/t/how-to-see-why-my-app-closes-itself/696513 "2022-11-22T07:02:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadmn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nadmn/32/88714_2.png) [@nadmn](https://forums.unrealengine.com/u/nadmn)\
**Post date:** [November 22, 2022, 7:02am UTC](https://forums.unrealengine.com/t/how-to-see-why-my-app-closes-itself/696513/1 "2022-11-22T07:02:22Z")

</div>

Hello,

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?

I use blueprint btw.

Thank you.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [November 22, 2022, 8:29am UTC](https://forums.unrealengine.com/t/how-to-see-why-my-app-closes-itself/696513/2 "2022-11-22T08:29:07Z")

</div>

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.**

> **[Android Debugging](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/AndroidDebugging/)**
>
> Taking a look at how to debug your UE4 project using Android Studio.

> **[Outil de ligne de commande Logcat  |  Android Developers](https://developer.android.com/studio/command-line/logcat?hl=fr)**
>
> Logcat est un outil de ligne de commande qui vide un journal des messages système (y compris les traces de pile) lorsque l'appareil génère une erreur, et envoie les messages que vous avez écrits à partir de votre application avec la classe Log.

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.
