S.Galaxy 7 - GearVR - Make sure apk is signed

Hi! I am trying to launch an app on Samsung Gear with S7. The packaging is ok, and I use this combination:

Android minimun SDK 19, and target SDK 21. SDK api: matchndk and NDK api:android 21

But it appears this message: “Thread priority security exception. Make sure APK is signed” I don’t understand why, if I have signed the apk before. Do I need the osig file if I have apk signed? Thank you!

Your OSIG file (created here: https://developer.oculus.com/osig/ )

is not correctly placed. Make sure to place it in:
\Epic Games\4.12\Engine\Build\Android\Java\assets

But, does it neccesarry if I want to share the .apk? I mean, I want to distribute it on Google Play.

100% necessary - you cannot distribute a gearvr app on google play. GearVR apps can only be distributed over the Oculus platform/app!

If you want your app on google play you are looking at cardboard/daydream not gearvr. Then you need to add the Google VR plugin and export as a googlevr app NOT gearvr: https://docs.unrealengine.com/latest/INT/Platforms/GoogleVR/index.html

If you want to distribute on both then you need to export it twice differently each time for the target platform.

Ok, thank you! Is there any documentation on Unreal to distribute over Oculus platform?

Here’s the unreal quick start: https://docs.unrealengine.com/latest/INT/Platforms/GearVR/QuickStart/index.html

But for actual distribution you gotta go over the Oculus developer portal.
In here you can find the mobile submission info:
https://developer3.oculus.com/documentation/publish/latest/
UE4 handles most of that automatically manifest setup etc.

Nice knowledge btw