One click deploy is not shown (Android)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Zylann
:warning: Old Version Published before Godot 3 was released.

I tested an Android export of my game, and it works.

But now I want to debug on device, so I followed these instructions: http://docs.godotengine.org/en/latest/tutorials/asset_pipeline/one-click_deploy.html

My phone is in developer mode, I authorized “external sources” in APK security options, unplugged and re-plugged the USB cable, but still no Android icon in Godot…

Anyone managed to get it to work on Windows 7?

:bust_in_silhouette: Reply From: volzhs

You need to set up for android in Editor settings.

http://docs.godotengine.org/en/latest/tutorials/asset_pipeline/exporting_for_android.html

If you can’t see though you did all these,
maybe you need to install proper android USB driver for your device.

Ok it works now! The Windows driver for my device was missing.

Here are the steps I followed:

  • Set up Java, JDK and Android SDK, and create a debug keystore as described in Godot documentation

  • Enable developer mode on the device. In my case it was well hidden inside the version number (Device info/Android version), I had to tap 7 times on it to have access to developer options :smiley:

  • Even then, I can’t debug on my device. Google’s website states that every device manufacturer provides its own ADB driver for best compatibility, so I did a search to find mine. You can have a look here: Downloading ADB/USB Drivers for Android, or here for WIKO phones: http://wikogeek.com/

  • And now it works :slight_smile:

The last detail is ADB doesn’t seem to recognize the ID of my phone so when I type the adb devices command it prints a default one ‘0123456789ABCDEF’, maybe I should update it or reboot my computer.

Zylann | 2016-04-21 03:24

Tip in case your phone doesn’t have a driver (because it’s not popular enough): If you are on Linux, no driver is required.

Silas Gyger | 2016-12-11 18:56

You also need to enable USB Debugging in Developer options on your phone.

francek | 2019-09-14 14:36

:bust_in_silhouette: Reply From: Tobzster

There are other settings to configure on your android phones, which you might find in “developer options”, including, if you have theses settings, turning on “usb debugging” and “install via usb”.