All android builds crash

Hiya,

I’ve tried building many different builds to test on my android device but always get the same results…as soon as the application launches on the device it immediately crashes.

Today I managed to see the following in the log:

LogFileServer:Display: Read …/…/…/Engine/Content/MobileResources/HUD/VirtualJoystick_Background.uasset, 263065 bytes
LogSockets:Error: Unable to read full header

Any ideas?

Thanks

Paul

Hi Paulhaydock1982,

Are you still seeing this crash? Are you using the binary or source version of the editor? Can you attach the entire output logs for your failure as a txt file to this thread, if you are still seeing failures? Thanks very much!

link text

Hiya,

Thank you for the reply. I’m still experiencing problems and to date haven’t been able to run anything on a mobile device. I’m using the binary version of the editor and have attached the logs I was able to find, generate.

Thanks

Paul

link text

Ok, looking at your output logs, it states that the build was successful. Can you tell me at what point you are seeing the crash? I’m also not seeing the error you linked above now in your output logs.

Have you ever been able to successfully package for Android?

Secondly, and this may be unrelated, but are you also using Android Studio IDE?

Hey,

I’m sorry…so here’s some further information…

Firstly, I’ve never been able to run an android application I’ve built on three different phones. The application installs fine and it launches, but i immediately get “unfortunately, app name has stopped.”

Secondly, I installed the android dev tools that came with the unreal engine.

Finally, I’m not sure how to capture the logs, but if I go to the Project Launcher and launch through there a dos window pops up and this is were I’m seeing the error I first mentioned…it’s always a unable to read full header error…

I will try to get a copy of that log…

Paul

Here, this might help. It’s the documentation for how to find various types of logs.

Can you snag the Tappy Chicken project and try to package it for development and for ETC1? if you can successfully package that, then it indicates your SDK is set up correctly, so we can rule that out.

Good luck!

Here’s that log with the crash for ‘MemoryGame’.

Downloading Tappy Chicken now…link text

Hi Paulhaydock1982,

Were you able to get Tappy Chicken to package? If it failed, can you attach fresh output logs? Tappy is small and optimized for mobile, so it makes problems somewhat easier to diagnose.

Hi Paulhaydock1982,

Were you able to package Tappy Chicken?

Hi Paulhaydock1982,

We did not hear back from you in response to this issue, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

I’m having the same problem with [4.8]. Build works, Launch fails with a similar log (“Unable to read full header”).
No issues with Tappy Chicken.

Hey, you say launch fails, is that launch on from the editor or starting your apk on the device? What device are you testing and what is its OS? Can you include your output logs if this is launch on fail or your logcat logs if this is device fail?

Thanks

Hey there. The game works in editor, but launching on my Android Nvidia Shield Tablet crashes after a successful build (I tried both launching from editor and packaging first). I will try to include my logs later, but the last part is practically identical to the one posted by Paulhaydock1982 (Apr 07 '15 at 1:40 PM).

can you attach those as a txt file? Please don’t take the other user’s example as the preferred way to get logs to us :slight_smile:

Sure. :slight_smile:

Logs

Alrighty, since UFE shows it completes, but it appears to be crashing on the device itself can you include logcat logs to this mix? Also, do you mind checking an existing project like Tappy Chicken to see if this is project specific?

Thanks!

I’m able to build and launch Tappy Chicken with no issues.

Here the logcat: Logcat

Thanks!