# How to get a coredump / stacktrace in Android device?

**URL:** <https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [February 2, 2015, 9:48am UTC](https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131 "2015-02-02T09:48:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dredok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dredok](https://forums.unrealengine.com/u/Dredok)\
**Post date:** [February 2, 2015, 9:48am UTC](https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131/1 "2015-02-02T09:48:08Z")

</div>

Hi,

Yesterday, doing an update to my game, I found it works in PIE but crashes badly in device. I do not get any good reason for this in logs (only see it crashes after map loading starts).

I can not debug the game right now (I have tried several times but can not attach from nsight tegra plugin)

So I wondered how could I, at least, get a Stack Trace of the crash?

Yours  
Dredok

---

<div class="post-metadata">

**Author:** ![Alan\_Walk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alan\_Walk](https://forums.unrealengine.com/u/Alan_Walk)\
**Post date:** [August 19, 2015, 7:57am UTC](https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131/2 "2015-08-19T07:57:36Z")

</div>

Do you have a solution now?

---

<div class="post-metadata">

**Author:** ![Alan\_Walk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alan\_Walk](https://forums.unrealengine.com/u/Alan_Walk)\
**Post date:** [August 19, 2015, 8:07am UTC](https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131/3 "2015-08-19T08:07:47Z")

</div>

I have the same problem, do you have a good way to solve it now?

---

<div class="post-metadata">

**Author:** ![Amsanity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amsanity](https://forums.unrealengine.com/u/Amsanity)\
**Post date:** [August 20, 2015, 7:06am UTC](https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131/4 "2015-08-20T07:06:21Z")

</div>

In the folder C:\NVPACK\android-sdk-windows ools there is a file, monitor.bat  
Open this and a program launches. You can add a filter to filter the logs to UE4.

Here you can find logs from the android device there.

---

<div class="post-metadata">

**Author:** ![Karmington](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karmington/32/753727_2.png) [@Karmington](https://forums.unrealengine.com/u/Karmington)\
**Post date:** [January 3, 2022, 10:27pm UTC](https://forums.unrealengine.com/t/how-to-get-a-coredump-stacktrace-in-android-device/20131/5 "2022-01-03T22:27:17Z")

</div>

2022 Update

Android Studio logcat

> **[Write and View Logs with Logcat  |  Android Developers](https://developer.android.com/studio/debug/am-logcat)**
>
> Learn how to display system messages with the Logcat window in Android Studio.
