Android - Target Discovery doesn't find device (over wifi or USB) (SOLVED)

When connected over the same wifi or using a USB cable, the phone is not visible in the Project > Target menu.

Over wifi

Forcing a target IP add the device in the target list.
But when I build, the app on the phone block (the waiting animation is not moving anymore) and in the Discovery log display :
[http://192.168.1.3:8001/upnp] timed out getting XML description: Read timed out

Using USB

I also try to disable Wan miniport(IP) as suggested in this post.

Does any one have the same issue ?

Defold version (REQUIRED):

  • Version 1.2.176

Platforms (REQUIRED):

  • Platforms: Android
  • OS: Windows 10
  • Device: Huawei P30 / Android 10

Thanks

Which dmengine? From d.defold.com and dmengine.apk for 1.2.176?

Do you happen to have access to another Android phone?

Hi britzl,

Yes, dmengine is downloaded from this site and dmengine.apk is version 1.2.176
Sorry, I do not have another Android device to test.

Good news, I finally found what was happening :

  1. enable USB Tethering on the phone
  2. set up the firewall to allow traffic on IP adresses
  3. in the Editor, take a look in Project > Target
  4. enjoy to see your phone in the list :slight_smile:
2 Likes

Excellent! Happy to hear you found a solution!