I'm able to connect to my phone using adb connect, and I can adb shell also.
But when I go to Run->Device Chooser, there are no devices there.
What should I do to connect my (connected) adb Android Studio?
When I plug it in through USB, it shows up on the list
You can find the adb tool in /platform-tools/
You can check your devices using:
My result:
Set a TCP port:
Result message:
To init a wifi connection you have to check your device IP and execute:
Good luck!
Try to run:
http://developer.android.com/tools/help/adb.html#wireless
I'm using AS 3.2.1, and was about to try some of the plugins, but was hesitant realizing the plugins are able to monitor any data..
It's actually really simple doing it via the Terminal tab in AS:
adb tcpip 5555
adb connect 192.168.1.101
If you are using a rooted phone then try this application WiFi ADB.
Probably this is the most simplest way to debug on wifi.
I am using this application from many days and it works flawlessly.
Here are simple steps to implement Android App debugging using ADB over wifi:
Step 1: Connect Android device via USB (with developer mode enabled), and check its connection via
adb devices
.Step 2: Open cmd/terminal and the path of your ../sdk/platform-tools.
Step 3: Execute command
adb devices
.Step 4: Execute command
adb -d
shell (for device) ORadb -e shell
(for emulator). Here you will get the shell access to the device.Step 5: Execute command
ifconfig
and check the ip-address of it.Step 6: Not disconnect/remove device USB and execute command
adb tcpip 5000
, to open tcpip socket port 5000 for adb debugging. You can open it on any port which is not currently occupied.Step 7: Now execute command
adb connect <ip-address>:<port>
. eg:adb connect 192.168.1.90:5000
(where ip-address is device's wifi address and port which you have opened).Now, run
adb device
and check the debugging device is now connected wirelessly via wifi.Happy Coding...!