Reputation: 587
Hello i want to connect my android in debugging mode with android studio
without usb cable
i am using mac os
Upvotes: 12
Views: 34826
Reputation: 423
Library/Android/sdk/platform-tools/adb tcpip 5555
. If u can't then right only cd
then write Library/Android/sdk/platform-tools/adb tcpip 5555
Library/Android/sdk/platform-tools/adb connect YOUR_DEVICE_IP:5555
Upvotes: 11
Reputation: 3219
Use this jetbrain plug-in. Connect your device using a USB cable and press the Android WiFi ADB button. Once the device is connected over WiFi you dont need USB.
Upvotes: 3
Reputation: 821
Almost same steps as the Dharmik Ghori's answer
Just that in step 3 you do:
./adb tcpip 5555
instead of ./adb connect <DEVICE_IP_ADDRESS>:5555
.
Upvotes: 10
Reputation: 222
1- connect your PC and Mobile to same network (WIFI)
now find IP
-open setting > WIFI >info of connected wireless network and then get STATIC IP from there
2- Now open teminal and then goto PATH paltform-tools in SDK then fire below command
-Connect the device via USB and make sure debugging is working.
-go to developer options from settings and follow below snap shots
3 - now in terminal ./adb connect <DEVICE_IP_ADDRESS>
:5555 (if your using windows then remove ./)
you show this output - connected to 192.168.1.109:5555
now Disconnect USB . and perform below command to start wireless debugging
adb -s <DEVICE_IP_ADDRESS>
:5555 usb
4- for disconnect device follow below commands
adb disconnect <DEVICE_IP_ADDRESS>
:5555
Upvotes: 15