This Visual Studio Code extension helps you connect Android devices over ADB WiFi easily.
It provides commands to enable TCP/IP, connect/disconnect devices, and also generate QR codes for easier sharing.
📦 Features
📱 List connected devices (adb devices)
📡 Enable WiFi debugging (adb tcpip 5555)
🔗 Connect to devices by IP:PORT
❌ Disconnect devices
💻 Run ADB shell commands
🔲 Generate QR code for IP:PORT (scan on another machine/device)
🖥️ Cross-platform helper (Windows, macOS, Linux)
🚀 Installation
Download the Latest Version.vsix package from the releases (or build manually).
In VSCode, run:
code --install-extension adb-wifi-qr-0.1.1.vsix
Reload VSCode.
🔧 Requirements
Android SDK Platform Tools (adb) must be installed.
Ensure adb is in your system PATH, or set the environment variable ADB_PATH.
📖 Usage
1. Enable WiFi Debugging
Connect your device via USB.
Run in command palette (Ctrl+Shift+P / Cmd+Shift+P):
ADB: Enable TCP/IP Mode
This defaults to port 5555.
2. Connect via IP:PORT
Find your device’s IP in Settings > About phone > Status > IP address.
Run:
ADB: Connect Device
Enter <ip>:5555.
3. Disconnect Device
Run:
ADB: Disconnect Device
4. List Devices
Run:
ADB: List Devices
5. Run Shell Command
Run:
ADB: Shell Command
and enter the shell command (e.g. pm list packages).
6. Generate QR for IP:PORT
Run:
ADB: Generate QR
Enter your device IP:PORT.
A QR code will be shown (share/scan with another system for quick connect).