(Solved kinda) Android Builds on v1.2.100 cause dmengine.apk crash

Hi there everyone!

So I’m trying to learn how to export my game to my phone and I’m running into some issues.

I was following this manual on how to get the game built to Android. I didn’t see the option where they said

Select Project > Bundle…​ > Android Application…​ from the menu.

Is this because I’m working on the 2.0 editor?

Also, the dmengine.apk crashes when I use it.

The app and Defold editor are both updated to 1.2.100 and I am running Android version 6.0 on a LG Stylo (LG-H631)





Lameeeeee! Any ideas? Thanks!

1 Like

Bundling is not yet implemented in editor 2 I’m afraid.

I seem to recall an issue with targeting a device through editor 2 as well: https://github.com/defold/editor2-issues/issues/578

It is tagged as a blocker so the issue has high priority. In the meantime maybe using editor 1 will allow you to move forward :slight_smile:

EDIT Have a look at the forum post referred in the github issue: Is latest dmengine.apk from d.defold.com compatible with latest Editor2 builds?

/Johan

3 Likes

Thanks @Johan_Beck-Noren. That’s what I figured. I’ll download editor 1 :smile:

3 Likes

I’ll just jump in here, as my problem is kind of related. I’ve been working with Defold Editor 2.0 for a few days and been able to use build to target without any problem. However, today it stopped working, as in the app crashes (on my android phone) as soon as I hit the build button. I began debugging the app and noticed that it spits out “FATAL:ENGINE: Unable to load project file: ‘http://null:49888/build/game.projectc’”

I assume some recent update broke it?
This is with the newest 1.2.100 dmengine but it happened with 1.2.99 too earlier today.

1 Like

Oh, that’s really bad, sorry. Would you mind adding it as an issue here? https://github.com/defold/editor2-issues/
It makes it a lot easier to track and follow up.

1 Like

Yes of course, I just wasn’t sure whether it was something on my end or not, that’s why I didn’t put it up on github :slight_smile:

1 Like

Ah I see, if the app inexplicably breaks it’s definitely a bug even if there is something with your setup that’s causing it to happen. In this case my gut feeling is that this is an old bug that suddenly started happening for some reason.

2 Likes

Alright, well the issue has been reported now :wink:

3 Likes