One-click deploy

    After adding an Android export preset marked as Runnable, Godot can detect when a USB device is connected to the computer and offer the user to automatically export, install and run the project (in debug mode) on the device. This feature is called one-click deploy.

    Note

    One-click deploy is only available once you’ve added an export template marked as Runnable in the Export dialog. You can mark several export presets as runnable, but only one preset per platform may be marked as runnable. If you mark a second preset in a given platform as runnable, the other preset will no longer be marked as runnable.

    • HTML5: Starts a local web server and runs the exported project by opening the default web browser.

    Support for more platforms such as iOS is planned.

    • If deploying to Android, enable developer mode on your mobile device then enable USB debugging in the device’s settings.

    • After enabling USB debugging, connect the device to your PC using an USB cable.

    • Make sure there is an export preset marked as Runnable for the target platform (Android or HTML5).

    • Click the button to export to the desired platform in one click.

    If you can’t see the device in the list of devices when running the command in a terminal, it will not be visible by Godot either. To resolve this:

    • Check if USB debugging is enabled and authorized on the device. Try unlocking your device and accepting the authorization prompt if you see any. If you can’t see this prompt, running adb devices on your PC should make the authorization prompt appear on the device.

    • Try in the device’s developer settings, then follow the steps again.

    • On Linux, you may be missing the required udev rules for your device to be recognized.