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
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
In Android Studio 3.0.1 > Goto > (Short cut key (Alt+Cltr+S)) Settings > Goto Plugins > Click on Browser repositories... > Search "ADB WIFI" and install the plugin. After the installation restart your android studio.
Click the icon and connect your device.
0pen android studio and follow this path
Go to -> settings -> plugins -> Click on Browser repositories
after that search for WIFI ADB ULTIMATE then click on install.
First time you have to connect it using USB.
You can check its working on github. For more details kindly refer WIFI ADB ULTIMATE
Try below android studio plugin
Android WiFi ADB
HOW TO
Github Link: https://github.com/pedrovgs/AndroidWiFiADB
NOTE: Remember that your device and your computer have to be in the same WiFi connection.
Step 1: Goto your Android sdk folder -> platform tools
and copy the whole path
For example: C:\Program Files (x86)\Android\android-sdk\platform-tools
Step 2: Goto command prompt or Android studio terminal
windows users cd C:\Program Files (x86)\Android\android-sdk\platform-tools
Mac Users /Users/<username>/Library/Android/sdk/platform-tools
and press enter
Step 3: Connect your device & system with same wifi.
Step 4: Type adb tcpip 5555
and press Enter.
Step 5: Type adb connect x.x.x.x:5555
, replacing the x.x.x.x with your phone IP address.
find out phone IP address
Settings -> About phone -> Status
(some phones may be vary)
Note: In case that you connect more than one device, disconnect other phones except the one you need to connect.
Command prompt screen shot:
You can find the adb tool in /platform-tools/
cd Library/Android/sdk/platform-tools/
You can check your devices using:
./adb devices
My result:
List of devices attached
XXXXXXXXX device
Set a TCP port:
./adb shell setprop service.adb.tcp.port 4444
./adb tcpip 4444
Result message:
restarting in TCP mode port: 4444
To init a wifi connection you have to check your device IP and execute:
./adb connect 192.168.0.155:4444
Good luck!