mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-09-03 18:14:53 +03:00
Add and fix documentation for one-click deploy and export for Android docs (#11714)
* Enhance one-click deploy instructions with wireless ADB Updated instructions for one-click deployment to include wireless ADB method with detailed steps. --------- Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
This commit is contained in:
@@ -79,7 +79,7 @@ In that screen, 2 paths need to be set:
|
||||
|
||||
- ``Java SDK Path`` should be the location where OpenJDK 17 was installed.
|
||||
|
||||
- ``Android Sdk Path`` should be the location where the Android SDK was installed.
|
||||
- ``Android SDK Path`` should be the location where the Android SDK was installed. This directory should contain ``platform-tools/adb``.
|
||||
- For example ``%LOCALAPPDATA%\Android\Sdk\`` on Windows or ``/Users/$USER/Library/Android/sdk/`` on macOS.
|
||||
|
||||
Once that is configured, everything is ready to export to Android!
|
||||
|
||||
@@ -66,7 +66,13 @@ Using one-click deploy
|
||||
then enable USB debugging in the device's settings.
|
||||
- After enabling USB debugging, connect the device to your PC using a USB
|
||||
cable.
|
||||
- For advanced users, it should also be possible to use wireless ADB.
|
||||
- It's also possible to one-click deploy via wireless ADB instead of with a USB cable. In order to do this, it is necessary to:
|
||||
- Enable wireless debugging on the device: :menu:`Settings > Developer options > Debugging`
|
||||
- Connect to the same Wi-Fi network on your mobile device and PC.
|
||||
- Click :button:`Pair device with pairing code: (can be accessed via long press on wireless debugging) to display IP, port, and pairing code.`
|
||||
- On your PC, enter the command ``adb pair <ip address>:<port>`` and provide the pairing code when prompted.
|
||||
If ``adb`` is not recognized, you may need to add the android-sdk's platform-tools folder to your ``PATH`` or execute this command from there.
|
||||
- You can verify the ADB device is successfully connected by entering ``adb devices`` in the terminal.
|
||||
|
||||
- **iOS:**
|
||||
- Install Xcode, accept Xcode license and login with your Apple Developer
|
||||
|
||||
Reference in New Issue
Block a user