# Android Packaging fails with Online Framework Plugin enabled

**URL:** <https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, bug-report, packaging-projects, question, CPP\
**Created:** [September 7, 2016, 4:47pm UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705 "2016-09-07T16:47:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_5bf0957e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5bf0957e](https://forums.unrealengine.com/u/anonymous_user_5bf0957e)\
**Post date:** [September 7, 2016, 4:47pm UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705/1 "2016-09-07T16:47:19Z")

</div>

## Important: Reproduction steps are at the bottom of this post

After converting to 4.13, I managed to get my c++ project compiling. I had to remove 'UPROPERTY’s inside ‘#if PLATFORM\_WINDOWS’ statements, as well as remove the old SteamOSS from my Build.cs file and add the SteamOnlineSubsystem plugin instead.

However I can not package my game for Android and I get the following error:

```
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNS(unsigned short)'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNS(unsigned short)'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNL(unsigned int)'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNL(unsigned int)'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'NtoHS(unsigned short)'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'NtoHS(unsigned short)'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\...\RobotDefenseCPP\Binaries\Android\RobotDefenseCPP-armv7-es2.so

```

The game packages just fine for Android with 4.12. And packaging for Windows still works just fine in 4.13. Any ideas what is going on?

Edit: So far, I have no clue what is causing the issue. I have tried refreshing the project (deleting binary, intermediate, and other folders). But that did not help, so any help is very much appreciated.

**Edit 2:** I can reproduce the issue, so I will upgrade this post to a bug report and provide reproduction steps below.

## Reproduction Steps

1. Create a new blank C++ project using UE 4.13
2. Add the plugins “Online Framework Plugin” and “Online Subsystem Steam” (the plugins can be found under the category “Online Platform”
3. Package the game for Android (All)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5bf0957e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5bf0957e](https://forums.unrealengine.com/u/anonymous_user_5bf0957e)\
**Post date:** [September 8, 2016, 8:13am UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705/2 "2016-09-08T08:13:08Z")

</div>

I am able to package for Android by disabling the “OnlineFramework” plugin, but that is obviously not a good solution, since I guess the plugin is needed for online features such as sessions.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [September 8, 2016, 7:07pm UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705/3 "2016-09-08T19:07:57Z")

</div>

AllJonasNeeds,

Thank you for bringing this to our attention. I have verified that this is happening on both code and blueprint projects while using Online Framework and Online Subsystem Steam together. UE-35743 was entered for this issue. If you’d like to check up on the status, feel free to by reviewing our [live issue tracker][1].

Thanks!

[Unreal Engine Issues and Bug Tracker (UE-35743)](https://issues.unrealengine.com/issue/UE-35743)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5bf0957e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5bf0957e](https://forums.unrealengine.com/u/anonymous_user_5bf0957e)\
**Post date:** [September 11, 2016, 2:47pm UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705/4 "2016-09-11T14:47:51Z")

</div>

Hi ,

I just noticed enabling the Online Framework plugin without Online Subsystem Steam already results in the packaging error. I just tested that with a new blank C++ project.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [September 13, 2016, 8:30pm UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705/5 "2016-09-13T20:30:33Z")

</div>

Yes, that’s included in the bug. Falls back on the Online Framework plugin.

Thank you!

---

<div class="post-metadata">

**Author:** ![FoundThePin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FoundThePin](https://forums.unrealengine.com/u/FoundThePin)\
**Post date:** [October 26, 2017, 12:37am UTC](https://forums.unrealengine.com/t/android-packaging-fails-with-online-framework-plugin-enabled/369705/6 "2017-10-26T00:37:02Z")

</div>

Where can I find what The Features of the Online Framework Plugin. I cannot Find any documentation. Cheers
