# \[Gear VR\] Deploying Shipping build to Gear VR fails

**URL:** <https://forums.unrealengine.com/t/gear-vr-deploying-shipping-build-to-gear-vr-fails/367575>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Android, packaging-projects, gear-vr, question\
**Created:** [August 19, 2016, 4:30am UTC](https://forums.unrealengine.com/t/gear-vr-deploying-shipping-build-to-gear-vr-fails/367575 "2016-08-19T04:30:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 19, 2016, 7:48am UTC](https://forums.unrealengine.com/t/gear-vr-deploying-shipping-build-to-gear-vr-fails/367575/2 "2016-08-19T07:48:01Z")

</div>

You need to create your keystore for the “For Distribution” checkbox to work - it basically signs the app without this it is always signed as a debug app by UE4

Once you create and place your keystore in the correct location you need to enter the details of it in the “Distribution signing” section of the Android settings in UE4.

Step by step:

Making a key.

You can find the keytool.exe file in the NVPACK installed with your Android Dependancies (default is C:\NVPACK) under the jdk#.#.#_## subfolder\bin. Then you can run the following in the Command Line

```
 keytool -genkey -v -keystore C:\Users\YourUserName\YourAppName.keystore -alias YourAppName -keyalg RSA -keysize 2048 -validity 10000

```

Then insert the keystore file generated in your project folder here:

\Unreal Projects\YourAppName\Build\Android

and then insert your keystore details into the “Distribution Signing” section of Android settings:

 ![64025-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/f/02fba26ec408c11241e37088929418d1d858f1bc.png)

---

_[View the full topic](https://forums.unrealengine.com/t/gear-vr-deploying-shipping-build-to-gear-vr-fails/367575)._
