Android bundle crashes on start (SOLVED)

When I bundle for Android (tried with compress/without compress, release, with certificate etc) I get this error. I think it started to occur after the last update of the editor.

Thought it was something wrong with our display_profiles file so I removed it and got this error instead.

The game works perfectly on Windows, Mac, iPhone and Html5.

Odd. My gut reaction judging from the error is that you have a problem in one of your files, perhaps pointing to an atlas somewhere or a font that doesn’t exist. But since you’re saying that it works on all other platforms then that’s probably not it. Have you done any changes to the main_menu.gui or the other files listed? What happens if you grab an older version of your code? Same problem?

1 Like

I’ve tried up to 30 days old code and still get the same error on Android, but works on all other devices. I’ve tried bundling on 2 different computers but still get the same error.

Did you change anything in the bundling process in the latest version? The last working version I bundled was on the 12th of mars.

Are you working with someone else or are you solo on this project? If so, does it work for any of your team mates? Does the side scroller template project work? Could you please share the project with on of us in the dev-team? I’m away next week, but maybe sven.andersson@king.com or andreas.tadic@king.com.

1 Like

When you say you bundled on 12th of march, does that mean you bundled with 1.2.76 (which was released on 11th of march)?

The 1.2.77 release was an unrelated patch which didn’t contain any changes other than a version bump.

@britzl the side scroller template worked fine, so it must be related to our project. I’ve added Sven to the project and contacted him, he will look at it asap.

@Mathias_Westerdahl, I know I updated the version on friday, but I’m not sure I bundled it for Android on saturday now when you mention it. I think we only did the iPhone version on saturday. The last apk I have on this computer is from the 7th of march.

Found the problem on our side! I have a fix but will probably land in the next stable. Adding issue number so we can track it. :slight_smile:

Thanks @Jens_Andersson for the help!

3 Likes

DEF-1699 is solved in latest stable, 1.2.78! :slight_smile: Marking this as fixed.

2 Likes