[Gear VR] Deploying Shipping build to Gear VR fails

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: