Installed app on android can't be launched

I seem two have either of two probles:

  • I succesfully install the unreal app via the .bat file on my Samsung S7 with Android 6, but then it shows the warning that the apk is not signed.
    I’ve had problems finding the right folder for the .keystore file, I guess that’s sorted now but then the second problem arrives:
  • After installing the app via the .bat file, no shortcut is created on my Android device, so I can’t open the app. When checking the app list in Android settings, it says it is installed.

Does someone know how it can be that no shortcut is created on the Samsung S7? Where do I go wrong/where should I look to fix this?

,

  • Are there any logs that you can provide, or any errors that are showing up in the command prompt, or even from the editor?
  • Did you make sure that you accepted your computer fingerprint on your device?
  • Did you set up the developer settings?

Please follow the steps from the [Android Quick Start][1] to ensure you’ve set up your computer and device correctly for game development and testing.

Thanks!

Setting Up Unreal Engine Projects for Android Development | Unreal Engine 5.1 Documentation

Thanks for your reply ,

There’s no error in the log, it says build succesful, and succesfully creates the .bat file to install the app on my phone. That .bat file runs as well. Also the phone is set up with the developer settings enabled and gets the app installed (it shows up in the installed apps list). However there’s no shortcut to pen the app.

Some thoughts:

  • in the quick start api level 19 is advised (APK packaging and SDK settings) but the Samsung S7 uses 23, could that create problems?
  • what should be installed/not be installed in the Android SDK manager, I couldn’t find anything on this topic.

If you’re packaging for ARM64 using it would cause problems because the headers aren’t supported for ARM64 with.

Can you provide me step by step instructions on how you’re packaging your project, what packaging settings you’re using in the project, etc?

Thank you!

Where do I checked wether it is packaged for ARM64?

The steps I follow: (taken from the quick start manual https://docs.unrealengine.com/latest/INT/Platforms/GearVR/QuickStart/index.html)

  • I create a default first person blueprint project, setting set to Mobile/tablet, Scalable 3d/2d, No starter content
  • In plugins, at Virtual Reality I set Gear VR and Oculus Library enabled, disable others
  • In project settings, at Android, I click configure now for APK packaging, set minimum target SDK to 19, enable Configure the AndroidManifest for VR
  • Also in project settings, Packaging I have full rebuild en for Distribution enabled.
  • previously I have CodeWorks for Android installed, the one I can select to install is 1R5, altough 1R4 is available by a pull down menu. I there install the ANdroid SDK, Android 6.0 options, all of Android Toolchain, Developer Tools, USB Driver, Middleware. In project settings, Android SDK the pathes etc have been set up. I set the NDK api level to 19 a described in the quick start(have tried 23 but it results in error)
  • I create the keystore file as described here In Build/Android folder: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
  • -I connect my Samsung S7 with Android 6.0.1, Samsung usb drivers installed
  • I package ETC2, the install files are created and I run the .bat file
  • No shortcut is created on my phone, however it is listed in the apps list on my phone with 106 mb installed.
  • Developer options are enabled on the phone

I Use Windows 10, Unreal 4.13

I sincerely hope you can help me to solve this, I am totally stuck at this point. I wonder if the settings are correct for the Samsung S7 since it has Android 6. Also I have no experience with CodeWorks…

Check under Project Settings > Android > Build: then make sure that Support ARM64 isn’t selected.

Also, we do not push the application shortcuts to the “desktop” of the device. Some phones do it while others do not, they always install to the apps folder.

Thanks!

The ARM64 wasn’t selected in project settings. However, my Samsung S7 has an ARM64-v8a processor. How to handle this?

Have you tried turning ‘Online Subsystem GooglePlay’ off? I’m not having any trouble deploying to S7. So that shouldn’t be a problem but I do know we’re having trouble with the Online Subsystem GooglePlay especially when ARM64 is enabled.

Have you tested with 4.13.1 yet?

I switched ‘Online Subsystem GooglePlay’ off in Plugins and disabled ARM64. It builds successfully (now with 4.13.1), I then run the .bat file. On my phone I create a shortcut to my app and launch it. It then asks to be placed in the Gear VR, then the app immediately stops unexpectedly and the message appears “Thread priority security exception, make sure the apk is signed”

I successfully created the .keystore file as described in the tutorial: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

Am I still mistaken somewhere in the Packaging steps?

I was so focused on the package settings, I lost the osig file out of sight.
So I followed the steps here: https://dashboard.oculus.com/tools/osig-generator/
And now it works!

So glad to hear that the issue has been resolved. Please let us know if you have any further questions. :slight_smile: