x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android - Crash on Start

Hey,

I'm unable to package and deploy my game to my android device. Using the monitor, this is the output log:

The game game shuts down immediately.

If I tick 'Package game inside .apk' it seems to work, but then it won't let me save the game.

Cheers, Chris

05-06 11:45:59.651 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: In the JNI_OnLoad function 05-06 11:45:59.651 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: [JNI] - Failed to determine if app purchasing is enabled! 05-06 11:45:59.661 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Path found as '/storage/emulated/0' 05-06 11:45:59.661 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Font Path found as '/system/fonts/' 05-06 11:45:59.661 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: In the JNI_OnLoad function 5 05-06 11:45:59.691 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Entering native app glue main function 05-06 11:45:59.691 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Created event thread 05-06 11:45:59.691 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Entering event processing thread engine entry point 05-06 11:45:59.691 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Prepared looper for event thread 05-06 11:45:59.691 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Passed callback initialization 05-06 11:45:59.691 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Entered AndroidMain() 05-06 11:45:59.691 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Controller interface supported 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Found DepthBufferPreference = 0 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Found bPackageDataInsideApk = 0 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Found ProjectName = SpaceStationAlpha 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Found bHasOBBFiles = 1 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Found bVerifyOBBOnStartUp = false 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: UI hiding set to true 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: UseExternalFilesDir set to false 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Asking if osOBBInAPK? false 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ExternalFilePath found as '/storage/emulated/0/Android/data/com.CoffeeCupGames.QuantumBuilder/files' 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: App is running in Landscape 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Android version is 6.0.1 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Android manufacturer is samsung 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Android model is SM-G920F 05-06 11:45:59.691 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: OS language is set to en_GB 05-06 11:45:59.691 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Passed sensor initialization 05-06 11:45:59.721 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> GameActive.onCreate complete! 05-06 11:45:59.721 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 9, 0, tid = 28320 05-06 11:45:59.731 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==================================> Inside onStart function in GameActivity 05-06 11:45:59.731 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Case APP_CMD_RESUME 05-06 11:45:59.731 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 7, 0, tid = 28320 05-06 11:45:59.731 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: App is running in Landscape 05-06 11:45:59.731 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> Starting activity to check files and download if required 05-06 11:45:59.791 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> GameActive.onResume complete! 05-06 11:45:59.861 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 12, 0, tid = 28320 05-06 11:45:59.861 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Case APP_CMD_PAUSE 05-06 11:45:59.861 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 6, 0, tid = 28320 05-06 11:45:59.861 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> GameActive.onPause complete! 05-06 11:45:59.881 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 8, 0, tid = 28320 05-06 11:45:59.881 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> GameActive.onStop complete! 05-06 11:45:59.891 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Starting DownloaderActivity... 05-06 11:45:59.941 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ... UI setup. Checking for files. 05-06 11:45:59.941 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Checking for file : main.2.com.CoffeeCupGames.QuantumBuilder.obb 05-06 11:45:59.951 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: which is really being resolved to : /storage/emulated/0/Android/obb/com.CoffeeCupGames.QuantumBuilder/main.2.com.CoffeeCupGames.QuantumBuilder.obb Or : /storage/emulated/0/obb/com.CoffeeCupGames.QuantumBuilder/main.2.com.CoffeeCupGames.QuantumBuilder.obb 05-06 11:45:59.951 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ... Can has! Check 'em Dano! 05-06 11:45:59.951 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: Checking for file : main.2.com.CoffeeCupGames.QuantumBuilder.obb 05-06 11:45:59.991 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 2, 0, tid = 28320 05-06 11:45:59.991 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: DownloadActivity Returned with Download Files Present 05-06 11:46:00.001 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 9, 0, tid = 28320 05-06 11:46:00.001 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==================================> Inside onStart function in GameActivity 05-06 11:46:00.001 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Case APP_CMD_RESUME 05-06 11:46:00.001 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: App is running in Portrait 05-06 11:46:00.001 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 7, 0, tid = 28320 05-06 11:46:00.001 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> Resuming main init 05-06 11:46:00.001 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Final commandline: 05-06 11:46:00.001 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Created sync event 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: Assertion failed: nullptr != File [File:D:\Build\++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\Core\Private\Android\AndroidFile.cpp] [Line: 1905] 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libUE4.so!FAndroidPlatformFile::MountOBB(wchar_t const*) 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libUE4.so!FAndroidPlatformFile::Initialize(IPlatformFile*, wchar_t const*) 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libUE4.so!AndroidMain(android_app*) 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libUE4.so!android_main() 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libUE4.so![Unknown]() 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libc.so![Unknown]() 05-06 11:46:00.011 28306-28319/com.CoffeeCupGames.QuantumBuilder D/UE4: libc.so![Unknown]() 05-06 11:46:00.011 28306-28306/com.CoffeeCupGames.QuantumBuilder D/UE4: ==============> GameActive.onResume complete! 05-06 11:46:00.031 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: Case APP_CMD_INIT_WINDOW 05-06 11:46:00.031 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 0, 3995846664, tid = 28320 05-06 11:46:00.091 28306-28320/com.CoffeeCupGames.QuantumBuilder D/UE4: LogAndroidEvents: EnqueueAppEvent : 11, 0, tid = 28320

Product Version: UE 4.15
Tags:
more ▼

asked May 06 '17 at 11:35 AM in Packaging & Deployment

avatar image

Piranhi
61 7 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

After going through my content, folder by folder, deleting everything to try and figure out what the problem was, including moving all my content to a new project, I finally tracked the issue down to the ManifestRequirementsOverride.txt that I created. Once I deleted that, everything worked fine again.

It used to work ok with a override file, but out of the blue it stopped the game running on any device. I believe I might have tried to add billing as a permission through the editor for AdMob.

It packaged fine, it deployed fine, but crashed on start. Using the android monitor, I got random errors depending on what packaging/apk settings I had applied, but nothing ever hinted towards the manifest or permissions.

Cheers, Chris

more ▼

answered May 08 '17 at 07:48 AM

avatar image

Piranhi
61 7 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question