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

**URL:** <https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304>\
**Category:** Mobile\
**Tags:** apk, unreal-engine, Android, gear-vr, question\
**Created:** [September 13, 2016, 11:57am UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304 "2016-09-13T11:57:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0ed4d86c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0ed4d86c](https://forums.unrealengine.com/u/anonymous_user_0ed4d86c)\
**Post date:** [September 13, 2016, 11:57am UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/1 "2016-09-13T11:57:34Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [September 13, 2016, 5:28pm UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/2 "2016-09-13T17:28:10Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0ed4d86c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0ed4d86c](https://forums.unrealengine.com/u/anonymous_user_0ed4d86c)\
**Post date:** [September 14, 2016, 8:02am UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/3 "2016-09-14T08:02:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [September 14, 2016, 8:21am UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/4 "2016-09-14T08:21:30Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0ed4d86c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0ed4d86c](https://forums.unrealengine.com/u/anonymous_user_0ed4d86c)\
**Post date:** [September 14, 2016, 8:30am UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/5 "2016-09-14T08:30:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [September 14, 2016, 1:14pm UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/6 "2016-09-14T13:14:32Z")

</div>

Here’s the unreal quick start: [https://docs.unrealengine.com/latest/INT/Platforms/GearVR/QuickStart/index.html](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/](https://developer3.oculus.com/documentation/publish/latest/)  
UE4 handles most of that automatically manifest setup etc.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4b4b275f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4b4b275f](https://forums.unrealengine.com/u/anonymous_user_4b4b275f)\
**Post date:** [February 24, 2022, 4:33pm UTC](https://forums.unrealengine.com/t/s-galaxy-7-gearvr-make-sure-apk-is-signed/370304/20 "2022-02-24T16:33:20Z")

</div>

Nice knowledge btw
