I am having the most frustrating time trying to package a simple basic project to be shared (via dropbox not google play) on a mobile device (samsung note 4) using UE4.9. I read the android docs that state that you do not need to share via the google play store as long as you sign the app.
I have followed the instructions on how to create a keystore but maybe I am doing it wrong. I am new to UE4 and android, so I appreciate your patience as a newbie. The following is the workflow I used to package my project for upload to dropbox and download to my mobile device.
-
I created a new project with a blank blueprint, mobile/tablet, scalable 3d or 2d, and no starter content.
-
Saved the level and gave it a name.
-
Built the project
-
Package Settings: default settings but checked Full Rebuild & For Distribution.
-
goto c:\NVPACK\jdk1…7.0_71\bin
-
opened cmd
-
keytool -genkey -v -keystore E:\Users\Haskell\Documents\Unreal\Projects\mobileBase\Build\Android\mobileBase.keystore -alias mobileBase -keyalg RSA -keysize 2048 -validity 10000
-
Once keystore file is created, I go back to unreal
-
Project Settings>APKPackaging
- Platform files are writable = check (green)
Distribution Signing: - Android Package Name: com.Haskell3D.archViz
- keystore (located within my projects/Build/Android dir): mobileBase.keystore
- key alias: mobileBase
- key store password: XXXXX
- Key password: left blank as it is same as key store password.
Google Play Services:
Platform files are writable = check (green)
All values blank (default) as I will not be uploading my app to the play store at this time.
-
Android SDK Config locations are pointing to the correct locations and I am able to launch app to my “connected” mobile device without any issues.
-
Package>Android>ALL
-
UE4 packages and the build is successful.
-
These are the files that are created:
Install_mobileBase_NoOBBInstall_Shipping-armv7-es2
Install_mobileBase_Shipping-armv7-es2
main.1.com.Haskell3D.archViz.obb
mobileBase-Android-Shipping-armv7-es2.apk
-
zip the files and upload to drop box
-
download the zip file from dropbox into my samsung note 4 mobile device.
-
unzip and execute the install script by clicking on the UE icon.
-
Installation is successful. Click open App
-
ERROR
No Google Play Store Key No OBB found and no store key to try to download. Please set one up in Android Project Settings