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 Black screen and crash

Hi I'm trying to run my game on an HTC Sensation Z710e with Android 4.0.3

I just use the launch button and it packages and deploys the game, but I get a black screen and after 5 seconds or so it goes back to home screen quitely.

I used aLogCat to look at the logfile, but there was no specific error, just a message that the process has died at the end, no warnings or errors before that.

How can I find out what goes wrong? Isn't there some guide or tutorial on how to debug problems with android? I have no clue where to start.

Thanks for any information or ideas!

Product Version: UE 4.9
Tags:
more ▼

asked Sep 06 '15 at 07:58 PM in Packaging & Deployment

avatar image

BramV
391 36 36 80

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

1 answer: sort voted first

Hey BramV,

Have you made sure to set the Default Game Startup map within your Project Settings?

When you package your project, it is going to exclude the engine contents and example maps. These maps are set as the default to open in the editor or in game, but if since they are missing in your packaged project it needs a new start up map.

Use the image below to help you locate this option

alt text

Let me know if this was helpful, or if you have further questions.

Thanks,

Andrew Hurley

mapsandmodes.png (58.8 kB)
more ▼

answered Sep 28 '15 at 08:49 PM

avatar image Mr. Moyo Mar 31 '16 at 12:40 AM

Hi Andrew,

My launched game in android is showing a black screen as well as, and is also crashing after 5 seconds. I have packaged my game many times for android, so I am aware of the default map setting in the project settings.

The first time it happened I rechecked the default map settings to make sure they were correct. I then repackaged the game. Now the game is showing a black screen and is crashing.

fyi: I have been preparing my game for distribution, so I may have changed some other settings for decreasing the package size or optimization purposes.

I know my default map settings are correct. What else could be causing the black screen AND the crash all of a sudden?

avatar image AndrewHurley Apr 01 '16 at 06:31 PM

Try deleting your 'Saved' and 'Intermediate' folders and restarting the project. It sounds like a simple fix, but sometimes these issues are rogue and can be fixed with a simple restart of the project.

(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