Connecting via WiFi ADB
WiFi ADB allows you to connect your Android device wirelessly, without a USB cable. This is useful for long-running automation sessions.
Prerequisites
Section titled “Prerequisites”- Android 11 or newer (for wireless debugging)
- Both computer and phone on the same WiFi network
- Initial USB connection required for setup (Android 10 and below)
Method 1: Wireless Debugging (Android 11+)
Section titled “Method 1: Wireless Debugging (Android 11+)”This is the recommended method for Android 11 and newer devices.
On Your Android Device:
Section titled “On Your Android Device:”- Go to Settings → Developer options
- Scroll down to Wireless debugging
- Toggle it ON
- Tap Wireless debugging to open settings
- Tap Pair device with pairing code
- Note the IP address, Port, and Pairing code
In FeedFlux Desktop:
Section titled “In FeedFlux Desktop:”- Click Devices in the sidebar
- Click Connect via WiFi
- Enter the IP address and pairing port
- Enter the pairing code
- Click Pair
- Once paired, click Connect
Method 2: Traditional WiFi ADB (Android 10 and below)
Section titled “Method 2: Traditional WiFi ADB (Android 10 and below)”This method requires an initial USB connection.
Step 1: Connect via USB First
Section titled “Step 1: Connect via USB First”- Connect your device via USB cable
- Ensure it’s recognized in FeedFlux
Step 2: Enable WiFi ADB
Section titled “Step 2: Enable WiFi ADB”- In FeedFlux, with device connected via USB
- Click the three dots menu next to your device
- Select Enable WiFi ADB
- Note the IP address shown
Step 3: Connect Wirelessly
Section titled “Step 3: Connect Wirelessly”- Disconnect the USB cable
- Click Connect via WiFi
- Enter the IP address and port (usually 5555)
- Click Connect
Maintaining WiFi Connection
Section titled “Maintaining WiFi Connection”- Keep devices on same network - Connection breaks if either device changes networks
- Static IP recommended - Set a static IP on your Android to prevent IP changes
- WiFi ADB disables on reboot - You’ll need to repeat the USB setup after phone restart
Troubleshooting WiFi Connection
Section titled “Troubleshooting WiFi Connection”| Issue | Solution |
|---|---|
| Cannot find device | Ensure both devices are on the same WiFi network |
| Connection refused | Check if wireless debugging is enabled on phone |
| Connection timeout | Disable firewall temporarily to test |
| Frequent disconnects | Move devices closer to WiFi router |