Friday, May 6, 2022

Test your android app from android studio without USB cable

Test your android app from android studio without USB cable:

- First connect your android phone to your pc/laptop.
- Open CMD and go to this location: 
C:\Users\{YOUR_USER}\AppData\Local\Android\Sdk\platform-tools

Here {YOUR_USER} will be your local user which you are using.

- In command prompt give these command: adb devices
To see all devices are connected

- Next command: adb tcpip 5555

- Next command: adb connect YOUR_IP
It will show your device is connected to YOUR_IP:5555


After that you can test your android in real android device without cable.
Thanks.

No comments:

Post a Comment

Change priority of dual boot OS

Change priority of dual boot OS  (Windows and Linux): Go to your Linux OS, install Grub customizer. Then change priority by up and down arro...