# Profiling Android Devices

**URL:** <https://forums.unrealengine.com/t/profiling-android-devices/339019>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** profiling, unreal-engine, Android, question\
**Created:** [November 19, 2015, 3:40pm UTC](https://forums.unrealengine.com/t/profiling-android-devices/339019 "2015-11-19T15:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pixeldamage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pixeldamage](https://forums.unrealengine.com/u/Pixeldamage)\
**Post date:** [November 19, 2015, 3:40pm UTC](https://forums.unrealengine.com/t/profiling-android-devices/339019/1 "2015-11-19T15:40:17Z")

</div>

I’ve been reading around but I’m finding it hard to fill some gaps in my knowledge regarding Android profiling.

Hitting Launch from within the Editor runs fine on device but the console there is limited (stat unit/fps/unitgraph) and commands such as r.vsync 0 don’t seem to do anything (whereas they work in Editor). I also tried ‘stat startfile’ and ‘stat endfile’ but couldn’t find any.csv files created. Perhaps they don’t work either. Ideally I’d like to profile from within the editor whilst it’s playing on device (as I do in Unity projects). I understand that this isn’t ideal because of profiler overhead.

I read that using the UnrealFrontend you can profile external devices - but it always fails for me (RunUAT.bat error) which I’ve made a separate question for ([https://answers.unrealengine.com/questions/336230/problems-launching-from-unrealfrontendexe.html](https://answers.unrealengine.com/questions/336230/problems-launching-from-unrealfrontendexe.html)). At the moment I’m able to run from Editor or by building apks and manually copying it over.

Would really appreciate some help filling in these gaps! Thanks in advance

---

<div class="post-metadata">

**Author:** ![Pixeldamage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pixeldamage](https://forums.unrealengine.com/u/Pixeldamage)\
**Post date:** [November 24, 2015, 10:59am UTC](https://forums.unrealengine.com/t/profiling-android-devices/339019/2 "2015-11-24T10:59:38Z")

</div>

OK. I’ve found a workaround. Whilst I still can’t use UFE to launch - it turns out that “start statfile” actually does work on Android but it produces a file with extension \*.ue4stats (I’d read somewhere I was looking for a csv file). The docs don’t mention working with external devices (as far as I can tell) so I didn’t know what file I was looking for.

Still not as user friendly as being able to check the profiler in realtime via the PC (whilst running it on device).

---

<div class="post-metadata">

**Author:** ![XADIFY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XADIFY](https://forums.unrealengine.com/u/XADIFY)\
**Post date:** [October 17, 2016, 10:05am UTC](https://forums.unrealengine.com/t/profiling-android-devices/339019/3 "2016-10-17T10:05:59Z")

</div>

u can load the ue4stats file into session front end → profiler and see the same data as PC shows in real time

---

<div class="post-metadata">

**Author:** ![Pixeldamage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pixeldamage](https://forums.unrealengine.com/u/Pixeldamage)\
**Post date:** [January 29, 2017, 8:13pm UTC](https://forums.unrealengine.com/t/profiling-android-devices/339019/4 "2017-01-29T20:13:06Z")

</div>

Thank you very much
