Dmengine crash Android LG G4

I install the last dmengine apk to my phone, I see the target in menu and when try test my game, dmengine crash and close, in pc my game work fine.

Sorry to here that! Are there any logs in the editor when launching the game with the android device as target?

yes, sorry

[Running on target ‘LGE-LG-H815’ (192.168.1.106)]
FATAL:ENGINE: Unable to load project file: ‘http://192.168.1.104:49651/build/game.projectc

adb logs could be useful as well.

I get this message too in target discovery log

SSDP: Searching for devices
[http://192.168.1.106:55339/defold] timed out getting XML description: connect timed out

Does your game run if you bundle an apk and install it?

no, I will try very soon, but I test with other examples and get the same error

Hmm, ok, do you happen to have the Android developer tools installed (like @sergey.lerg suggested) ? If you have, would you mind running adb logcat in a terminal with the phone connected via USB cable and then attempt to start the app again?

I follow the steps in https://www.defold.com/manuals/android/

I download 1.2.105 engine/armv7-android/dmengine.apk and I am using Defold Editor 2.0, with editor 1.0 is working.

I can test a game with dmengine if is allocated in disk?

Oh, so it works using editor 1?

Yes, maybe a bug in editor 2?

my game project is working with editor1 and dmengine.

Ok, hmm, is this something that sounds familiar @Erik_Angelin, @mats.gisselson, @Ragnar_Dahlen, @Ragnar_Svensson?

As I know editor 2 works with beta version of engine, and for now it’s 1.2.106. That’s mean that you can’t use dmengine 1.2.105 with editor2.

Unfortunately I don’t know where we can get dmengine for editor2.
Would be great to have some option in editor2 to build or download actual dmengine.

To be specific, it’s actually the alpha version of the engine that gets bundled with Editor 2. Since that updates fairly often, it’s arduous to track and download that link to disc.

The actual engine is bundled with Editor 2, it’s just hidden in a .jar file. Simplest way to get it is to bundle an empty project into an apk, which you then can install and use as debug engine.

2 Likes

Same error:

INFO: ENGINE: Defold Engine 1.2.117 (4ac025d)
FATAL: ENGINE: Unable to load project file: ‘http://192.168.1.102:45027/build/game.projectc’ (-1)

in openSUSE linux , editor2 and dmengine 1.2.117

And building and running locally works? What about bundling and uploading to device?

works with target local engine

log:
SSDP: Started successfully
SSDP: Connected to multicast network eth0: [/192.168.1.102]
SSDP: Searching for devices
[http://192.168.1.101:49406/defold] timed out getting XML description: Read timed out
SSDP: Searching for devices
[http://192.168.1.101:49406/defold] timed out getting XML description: Read timed out
SSDP: [192.168.1.101] has expired and was removed
SSDP: Searching for devices

now I remember that yesterday worked I think 2 times. later it did not work anymore

–update–

I think the problem is the ports, I had to open the ports in a very large range of 30000: 50000 to make it work, with some problems.

They should add to the manual the question of ports, since those of us who use linux always have the firewall activated.

This is a security problem, having to have so many ports open to just test the application on a mobile phone.

Could not use the traditional usb cable, without having to use the network?

As a suggestion, limit the number of ports used.

regards

1 Like