Remote Debug for Andriod

Godot Version

4.2.1

Question

I’m trying to setup remote debugging on Android but the remote debug button remains disabled and the message says “No Remote Debug export presets configured.”

I have a Android Export Preset created and I’ve added the debug keystore to the preset. I am able to export my project to my Android device manually, but not through the Remote Debug.

In the Debug menu I have selected the option for “Deploy with Remote Debug”.

In the editor settings, I’ve selected Use Wi-Fi for Remote Debug and set the Remote Debug Host.

But in doing all of the above I still cannot get that Remote Debug button enabled. What am I missing?

You need a device connected to your computer before remote debug can work. Make sure you have one connected, correctly setup, and available.

I was trying to connect to it through Wi-Fi since my device USB cable no longer works. I guess that’s not possible then.

I may be wrong but I think you need to connect it via USB first before being able to connect via WiFi. This isn’t a limitation of Godot.

The thing you’re looking for is probably: One-click deploy
One-click deploy — Godot Engine (stable) documentation in English)

Assuming you already created a debug.keystore, follow these steps:

  1. Install Android SDK

  2. Add Android SDK path to Godot:
    Editor → Editor Settings → Export → Android → Android SDK Path
    Path is usually located in: C:/Users/User/AppData/Local/Android/Sdk

  3. Setup wireless debugging, follow this short video: https://www.youtube.com/watch?v=jebwA5eB-sE&ab_channel=AbhinavChauhan

From my experience, as long as your phone is not turned completely off, you can enable the wireless debugging with adb connect <phone-ip-address>:5555 each time it disables.