You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
💡 **Tip:** You can also connect a physical device wirelessly. See [Appendix: Wireless device connection](#Appendix-Wireless-device-connection) at the end of this document.
140
+
139
141
---
140
142
141
143
## 6. Generating the coverage report
@@ -401,3 +403,47 @@ Ensure you run both tasks together:
401
403
402
404
Running `jacocoTestReport` alone (without fresh test execution data) produces an empty
403
405
report because JaCoCo needs the `.exec` file generated during the test run.
406
+
407
+
408
+
## Appendix. Wireless device connection
409
+
410
+
You can run instrumented tests on a physical Android device without a USB cable using **Wireless Debugging** (Android 11 and later).
411
+
412
+
### Prerequisites
413
+
414
+
- Device with Android 11 (API 30) or higher
415
+
- Computer and device on the **same Wi-Fi network**
416
+
- SDK Platform-Tools version 30.0.0 or higher
417
+
418
+
### Steps to connect
419
+
420
+
**On your Android device:**
421
+
- Enable **Developer Options** (tap "Build Number" 7 times in Settings → About phone)
422
+
- Go to **Settings → Developer Options**
423
+
- Enable **Wireless Debugging**
424
+
- Tap **Pair device with pairing code**
425
+
426
+
**On your computer:**
427
+
```bash
428
+
# Pair with the device (use the IP, port, and code shown on your device)
0 commit comments