waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

ADB Wireless: Not connecting! #624

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put Glass in debugger mode and open adb shell
2. type "adb netcfg" to find the wlan0 assigned IP address for the device
3. type "adb tcpip 5555"
4. type "adb connect [wlan0IP]", obtained from step 2

What is the expected output? What do you see instead?
-This should allow us to successfully connect to the Google Glass device 
without needing to have the USB cable connected, but instead we see a repeated 
"device cannot be found" error or "cannot connect to device".  This happens 
either from Step 3 or Step 4 depending on which computer or Glass device is 
used.

What's the easiest way to achieve wireless ADB connection with Glass, or to 
troubleshoot the scenario described above?

Original issue reported on code.google.com by Ishwarya...@gmail.com on 27 Oct 2014 at 2:45

GoogleCodeExporter commented 8 years ago
Edit: Using Windows 7, with XE-C Google Glass.

Original comment by Ishwarya...@gmail.com on 27 Oct 2014 at 3:49

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for the report! Before we can help debug, could you answer those 
questions:
  * Is this working on another laptop/workstation that is running another OS than Windows 7?
  * Can you make sure that your local network has the port 5555 opened?

One way to debug the second question would be to use your phone as a local wifi 
hotspot and have your computer and Glass connect to it.

Best,
Alain

Original comment by ala...@google.com on 28 Oct 2014 at 3:16

GoogleCodeExporter commented 8 years ago
Hi there,

I have not been able to get it to work on another operating system, and I have 
verified that the port has opened through testing with a cell phone hotspot.  
But even while remaining on this hotspot, I still cannot seem to connect to the 
device with "adb connect [IP]".

Original comment by Ishwarya...@gmail.com on 31 Oct 2014 at 5:18