# 5.2.1 Android Not Producing Logs

**URL:** <https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question\
**Created:** [September 17, 2023, 7:48pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688 "2023-09-17T19:48:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![RealAero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realaero/32/716140_2.png) [@RealAero](https://forums.unrealengine.com/u/RealAero)\
**Post date:** [September 17, 2023, 7:48pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/1 "2023-09-17T19:48:57Z")

</div>

I am noticing on 5.2.1, if you select project default for Binary Configuration, its builds shipping no matter what you have selected in project settings.

Also I am noticing, if I click Development manually, the app doesn’t produce logs! What gives?!

I know its development because the quad screen tap opens the console, but there is no log left in my device!!

Also using the Launch feature doesn’t work anymore. When the process is complete, the actual Launch command doesn’t make the phone do anything.

Android support appears to be deteriorating.

---

<div class="post-metadata">

**Author:** ![leehammoud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@leehammoud](https://forums.unrealengine.com/u/leehammoud)\
**Post date:** [March 19, 2024, 8:54am UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/3 "2024-03-19T08:54:50Z")

</div>

Did you figure this out? Having same issue with it not producing logs

---

<div class="post-metadata">

**Author:** ![RealAero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realaero/32/716140_2.png) [@RealAero](https://forums.unrealengine.com/u/RealAero)\
**Post date:** [March 30, 2024, 6:12pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/4 "2024-03-30T18:12:35Z")

</div>

This is a very annoying temporary fix:

> [@How to get Android Logs with Scoped Storage?](https://forums.unrealengine.com/t/how-to-get-android-logs-with-scoped-storage/1488891/3):
>
> Alright, this is not what we want to see, but it will do for now. Thank you to lion from Multiplayscape with providing me with a solution. You do need to use a source build, I already am so it’s not too bad, but definitely will be a bummer for those on binary. Also you will need to rebuild the engine which takes time. In the file: UnrealEngine\Engine\Source\Runtime\Core\Private\Android\AndroidPlatformMisc.cpp Comment out lines 290 and 321. (Add // before the line.) Make sure to ma…

---

<div class="post-metadata">

**Author:** ![briekeMVI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@briekeMVI](https://forums.unrealengine.com/u/briekeMVI)\
**Post date:** [July 2, 2024, 11:25pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/5 "2024-07-02T23:25:54Z")

</div>

This temporary fix isn’t exactly a fix. If you select ‘For Distribution’ or from what I’m reading in the original post setting binary configuration will flag the build as UE\_BUILD\_SHIPPING which seems completely incorrect to me. Is there some way to ensure that builds don’t get configured as shipping simply because ‘For Distribution’ is checked?

---

<div class="post-metadata">

**Author:** ![RealAero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realaero/32/716140_2.png) [@RealAero](https://forums.unrealengine.com/u/RealAero)\
**Post date:** [July 3, 2024, 11:04pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/6 "2024-07-03T23:04:05Z")

</div>

> [@briekeMVI](#):
>
> This temporary fix isn’t exactly a fix. If you select ‘For Distribution’ or from what I’m reading in the original post setting binary configuration will flag the build as UE\_BUILD\_SHIPPING which seems co

From what I understand, all “For Distribution” does is force the build to be set to shipping

---

<div class="post-metadata">

**Author:** ![briekeMVI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@briekeMVI](https://forums.unrealengine.com/u/briekeMVI)\
**Post date:** [July 9, 2024, 7:06pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/7 "2024-07-09T19:06:34Z")

</div>

Previously “For Distribution” would sign the built apk only. If you have previously installed versions of an application installed on the device the signatures need to match.  
Now checking “For Distribution” also forces a shipping build which eliminates all logs, and not ideal. I would hope for some sort of flag to enable application signing without forcing the build into Shipping mode.

---

<div class="post-metadata">

**Author:** ![brickelstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brickelstone](https://forums.unrealengine.com/u/brickelstone)\
**Post date:** [July 11, 2024, 11:39pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/8 "2024-07-11T23:39:12Z")

</div>

**Issue: Binary Configuration Defaulting to Shipping**

- **Solution** : Explicitly select “Development” or “Debug” instead of “Project Default” to avoid unintended shipping builds.

**Issue: No Logs in Development Build**

- **Solution** : Ensure logging settings in `DefaultEngine.ini`:

ini

```auto
LogConsoleResponse=all
LogWindows=all

```

**Issue: Launch Feature Not Working**

- **Solution** : Verify device connection, check for errors in Output Log, ensure correct platform SDK, and try manual deployment if needed.

For further assistance, refer to Unreal Engine documentation or contact Epic Games support.

---

<div class="post-metadata">

**Author:** ![briekeMVI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@briekeMVI](https://forums.unrealengine.com/u/briekeMVI)\
**Post date:** [July 12, 2024, 8:51pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/10 "2024-07-12T20:51:36Z")

</div>

> [@brickelstone](#):
>
> **Solution** : Explicitly select “Development” or “Debug” instead of “Project Default” to avoid unintended shipping builds.

This is incorrect. If you mark a build as “For Distribution” Unreal 5.2 will force the build Shipping and all logs are stripped.

---

<div class="post-metadata">

**Author:** ![briekeMVI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@briekeMVI](https://forums.unrealengine.com/u/briekeMVI)\
**Post date:** [July 12, 2024, 8:54pm UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/11 "2024-07-12T20:54:51Z")

</div>

The real answer is to comment out this if statement  
[https://github.com/EpicGames/UnrealEngine/blob/ed1fb28a68554f739f91a9e0080e73365d12d842/Engine/Source/Editor/TurnkeySupport/Private/TurnkeySupportModule.cpp#L484](https://github.com/EpicGames/UnrealEngine/blob/ed1fb28a68554f739f91a9e0080e73365d12d842/Engine/Source/Editor/TurnkeySupport/Private/TurnkeySupportModule.cpp#L484)  
And simply remove the ternary operator from this line to have it just set the configuration  
[https://github.com/EpicGames/UnrealEngine/blob/ed1fb28a68554f739f91a9e0080e73365d12d842/Engine/Source/Editor/TurnkeySupport/Private/TurnkeySupportModule.cpp#L589](https://github.com/EpicGames/UnrealEngine/blob/ed1fb28a68554f739f91a9e0080e73365d12d842/Engine/Source/Editor/TurnkeySupport/Private/TurnkeySupportModule.cpp#L589)

---

<div class="post-metadata">

**Author:** ![LezAndrew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LezAndrew](https://forums.unrealengine.com/u/LezAndrew)\
**Post date:** [January 23, 2025, 11:18am UTC](https://forums.unrealengine.com/t/5-2-1-android-not-producing-logs/1300688/12 "2025-01-23T11:18:09Z")

</div>

I too was having trouble with logs not being generated on Android (and no output in Logcat either), in this case under 5.3.2.

I checked the usual suspects,

- Build Configuration definitely set to Development - check.
- For Distribution set to Off - check
- Digging through the config files for any log settings - nothing obviously wrong there.

Eventually found it. There was a single setting in a \Config\Android\AndroidGame.ini file

```auto
[/Script/UnrealEd.ProjectPackagingSettings] 
BuildConfiguration=PPBC_Shipping

```

I’m guessing this forces the build type on the platform, no matter what is set elsewhere. As there was only one setting in the file, I closed down everything, deleted the file, reopened unreal editor and packaged the Android build. Log files & logcat are now working for me again.
