AndroidWiFiADB
AndroidWiFiADB copied to clipboard
AndroidWiFiADB connects to device, but it isn't displayed as deployment target
Hi. I've successfully used the plugin before, but after updating Android Studio it doesn't work anymore.
Android Wifi ADB version: 2.4 Android Studio version: 2.3.3 JRE: 1.8.0
Steps
- Check that both computer and device are connected to the same Wi-Fi.
- Connect device via USB; Android Studio recognizes it.
- Connect with Android WiFi ADB, disconnect USB.
- Try to run the app; the device isn't shown on the deployment targets dialog.
- Disconnect from Android WiFi ADB; an error is shown: 'Unable to disconnect device, make sure that your computer and your device are connected to the same network'.
happened to me too as a workaround until this gets fixed, try this workaround:
phone: enable ADB over network in developer options, take note of the ip (default port 5555)
android studio (windows): then go to terminal tab of android studio and navigate to your adb folder (by default, its in this path): C:\Users*your_username**\AppData\Local\Android\sdk\platform-tools
once there, simply issue this command
adb.exe connect
for a different android studio platform, just go to terminal and issue the adb connect command
Thanks! It didn't work though. Maybe it wasn't a problem with the AndroidWiFiADB, and there's something else going on, even though I have the Mac and the device connected to the same WiFi.
try disabling AndroidWifiADB plugin and issuing commands again
Hi @SykesMod thanks for reporting! I can't reproduce this bug using the same Android Studio version in my computer 😥 It seems you can easily reproduce it! It could be great if you debug the bug and send a PR I tried installing different Android Studio version and using different devices but the plugin seems to be working as expected 😢
Getting this same issue in Android Studio 3.0.1 stable version.
Yes On my mac it shows connected but dont show up "Select Deployment Target" window!
Same on my mac, android studio 3.0.1
Same on my linuxmint , android studio 3.0.1
I think the problem is with the port.
I found a way from this link. If it might help.
Open cmd and write $ adb devices
, that will show you the list of connected devices. your device must be connected via a usb cable.
$ adb tcpip 5555
, write it in the cli and it will restart port: 5555.
$ adb connect 192.168.0.102:5555