# Androidの16kbyte alignment 対応について 

**URL:** <https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152>\
**Category:** Mobile\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [June 17, 2025, 7:28am UTC](https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152 "2025-06-17T07:28:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 17, 2025, 7:28am UTC](https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152/1 "2025-06-17T07:28:34Z")

</div>

お世話になっております。

表題の件、下記スレッドにも関連しておりますが

[Content removed]

\<br/\>

こちらでもUE5のCLから探して

//UE5/Main/Engine/Source/Programs/UnrealBuildTool/Platform/Android/AndroidToolChain.cs

の対応をUE4側にも施し、

libUE4.so

のアライメント対応は可能であることは確認しましたが、apkに一緒に入っている、

libc++\_shared.so

libtry-alloc-lib.so

こちらはUEで独自にビルドかけているのでしょうか、NDK23.0.7599858に入っているlibc++\_shared.soとサイズは一致しませんし、そのせいかアライメントの変更ができておりません。

\<br/\>

おそらくどこかのCMakeListに設定を施さねばならないと思われますが、どこを変更すれば変更可能でしょうか。それとも上記スレッドにある通り、UE4への対応を待たねばならない状況でしょうか。

\<br/\>

なお、こちらは4.26を使用していますがこの状況はUE4.27でも変わらないと思われます。

確認宜しくお願い致します。

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 17, 2025, 11:33am UTC](https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152/2 "2025-06-17T11:33:41Z")

</div>

もう一点。

GooglePADPluginに含まれている

libplaycore.so

ですが、こちらもNDK23のものでもalign 2\*\*12となっており対応していないと思われます。

UE4とUE5両方ともと思われますが、こちらも込で対応予定はありますでしょうか。

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [June 17, 2025, 1:42pm UTC](https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152/3 "2025-06-17T13:42:11Z")

</div>

Hi Gen Mihashi,

UE 4.27 has added 16K alignment support in the 4.27+ LTS support branch with the following CL: [https://github.com/EpicGames/UnrealEngine/commit/c79de00e3ba31b0b96220f8a0591a93d6770a3e3](https://github.com/EpicGames/UnrealEngine/commit/c79de00e3ba31b0b96220f8a0591a93d6770a3e3).

The dependency on libtry-alloc-lib.so has been removed. 16K aligned libc++\_shared.so requires you migrate to NDK 27 or higher. We are however still awaiting a 16K alignment update to libplaycore.so to be released from Google.

Best regards.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 18, 2025, 3:21am UTC](https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152/4 "2025-06-18T03:21:24Z")

</div>

Hi Jacoby, thank your response.

Is its github link same of CL43497904 on Perforce right?

we will try to introduce its CL to our project.

​

and We understood we had to wait for Google’s response for [libplaycore.so](https://libplaycore.so/).

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [June 18, 2025, 2:50pm UTC](https://forums.unrealengine.com/t/android-16kbyte-alignment/2609152/5 "2025-06-18T14:50:34Z")

</div>

Hi Gen,

You are correct RE: Perforce equivalent CL.

Pending Google release of libplaycore, I believe this should address 16K alignment requirements.

Best regards
