Subject: bug#13390: tramp-adb hanging forever

From: Thierry Volpiatto <[email-masked]>
Date: Tue, 08 Jan 2013 22:53:11 +0100

Hi Michael,

Michael Albinus <[email-masked]> writes:

> Thierry Volpiatto <[email-masked]> writes:
>
>> Hi,
>
> Hi Thierry,
>
>> (require 'tramp-adb)
>> (setq tramp-adb-sdk-dir "~/share/android-sdk-linux")
>>
>> M-x shell
>> adb connect 192.168.0.24:5555
>> => connected to 192.168.0.24:5555
>> adb shell ls
>> => works as expected.
>
> I would like to check it, but my limited Android know-how prevents me
> from this. I'm not able to connect to (the WLAN address of) my Android
> device:
>
> ~/src/tramp> ~/src/android-sdk/platform-tools/adb connect 192.168.0.26
> unable to connect to 192.168.0.26:5555
> ~/src/tramp> ping 192.168.0.26   PING 192.168.0.26 (192.168.0.26) 56(84) bytes of data.
> 64 bytes from 192.168.0.26: icmp_req=1 ttl=64 time=257 ms
>
> USB access is OK, but that's not what we want to test. Is there
> something one must prepare in order to run "adb connect" successfully?
Install adb wireless:
https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en

Be sure wifi is enabled on your android device.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997