@@ -86,7 +86,7 @@ The OpenXR VR mode renders a spinning triangle, infinite grid, and procedural sk
8686 ```
8787 This installs the Android Rust toolchains and xbuild.
8888
89- 2 . Connect your Android device via USB and enable USB debugging, or start an Android emulator .
89+ 2 . Connect your Android device via USB and enable USB debugging, or connect wirelessly (see below) .
9090
91913 . Find your device ID:
9292 ``` bash
@@ -104,6 +104,34 @@ The OpenXR VR mode renders a spinning triangle, infinite grid, and procedural sk
104104 ```
105105 Example: ` just run-android RFCY61DZZKT `
106106
107+ ### Wireless Debugging Setup
108+
109+ To connect to your Android device wirelessly:
110+
111+ 1 . On your Android device, go to ** Settings > About phone** and tap ** Build number** 7 times to enable Developer options.
112+
113+ 2 . If your device has an auto-blocker setting (common on Samsung devices), disable it in ** Settings > Security > Auto Blocker** .
114+
115+ 3 . Go to ** Settings > Developer options** and enable ** Wireless debugging** .
116+
117+ 4 . Tap on ** Wireless debugging** , then tap ** Pair device with pairing code** . Note the IP address and port shown (e.g., ` 192.168.1.100:37000 ` ).
118+
119+ 5 . On your computer, pair with the device:
120+ ``` bash
121+ just pair-android 192.168.1.100:37000
122+ ```
123+ Enter the pairing code when prompted.
124+
125+ 6 . List devices to get the device ID:
126+ ``` bash
127+ just list-android
128+ ```
129+
130+ 7 . Run the app:
131+ ``` bash
132+ just run-android DEVICE_ID
133+ ```
134+
107135### Additional Android Commands
108136
109137``` bash
@@ -117,7 +145,7 @@ just build-android-all
117145just install-android DEVICE_ID
118146
119147# Connect to device over wireless ADB
120- just connect-android 192.168.1.100
148+ just connect-android 192.168.1.100:5555
121149
122150# List all connected devices
123151just list-android
0 commit comments