Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

AndroidWiFiADB connects to device, but it isn't displayed as deployment target #60

Open
RomiValladares opened this issue Jun 27, 2017 · 9 comments

Comments

@RomiValladares
Copy link

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

  1. Check that both computer and device are connected to the same Wi-Fi.
  2. Connect device via USB; Android Studio recognizes it.
  3. Connect with Android WiFi ADB, disconnect USB.
  4. Try to run the app; the device isn't shown on the deployment targets dialog.
  5. 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'.

I've uploaded a video showing the steps.

@SykesMod
Copy link

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

@RomiValladares
Copy link
Author

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.
screen shot 2017-07-03 at 10 35 46 pm

@SykesMod
Copy link

SykesMod commented Jul 4, 2017

try disabling AndroidWifiADB plugin and issuing commands again

@pedrovgs
Copy link
Owner

pedrovgs commented Aug 5, 2017

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 😢

@RohitK1992
Copy link

Getting this same issue in Android Studio 3.0.1 stable version.

@kailash09dabhi
Copy link

Yes On my mac it shows connected but dont show up "Select Deployment Target" window!

@Tokimu
Copy link

Tokimu commented Dec 7, 2017

Same on my mac, android studio 3.0.1

@piyan13
Copy link

piyan13 commented Feb 20, 2018

Same on my linuxmint , android studio 3.0.1

@guitorioadar
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants