It would be really great if we can connect our mobile devices wirelessly ,maybe an addon. There are options on some IDE that support wireless connections.
Requirements for connection
- Connect your device to computer
- Open a platform-tools folder and copy it’s path
- Open a command prompt and navigate the platform-tools folder
cd C:\Program Files\TestProject Agent\android-sdk\platform-tools
- Run next commands in command prompt (one after another, not all at once)
adb tcpip 5555
adb shell “ip addr show wlan0 | grep -e wlan0$ | cut -d” " -f 6 | cut -d/ -f 1"
After second command you will have the ip address of your Android device
Type next command in command prompt
adb connect ip_address :5555
Where ip_address is the ip of your mobile phone.
Now you can disconnect your device from cable, the device is connected via WiFi