This code help us to setup Wireless ADB. Just follow intsruction given by the Cmd Prompt to setup Wireless ADB.
NOTE:
eg: adb connect 192.168.1.40
Before using the Batchfile Set Path Environmental Variable for SDK (platforms-tools) in Windows
Follow the steps to setup Environmental Variable:
- Type Edit Environmental Variable for your account in Start Menu
- And then add new variable variable name : ANDROID_HOME variable value: Paste the andriod Sdk path
- And now successfully Environmental Variable is created.
After completing above procedure and then RUN the CODE Now!!!
It display instructions -> Just follow the instruction to setup Wireless ADB.