[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable adb port in tramp adb

From: Ashi
Subject: Re: Enable adb port in tramp adb
Date: Mon, 3 Nov 2014 11:30:44 +0800

Hi, Michael,

On Sun, Nov 2, 2014 at 7:29 PM, Michael Albinus <address@hidden> wrote:
Ashi <address@hidden> writes:

Hi Zhongwei,

> But it failed at the tramp-test26-process-file test.

There was an error indeed in `tramp-adb-handle-process-file', I've fixed
that in the repository.
Thanks!  All tests can be passed now. And the updated patch (changes in tramp-test22-file-times test case) is attached.

However, when I apply your patch, I'm not able to open
"/adb:3335F075A13600EC#5555:". Maybe it is because "adb devices" does
not show the port numbers in my case?

# adb devices
List of devices attached
3335F075A13600EC        device
adb has 2 kinds of connection:

- connected by USB, and adb devices will list a serial No., like in your case:
  3335F075A13600EC        device

- connected by TCPIP, and adb devices will list IP address + PORT, e.g.:    device
  you can switch to this by running "adb tcpip" if your device have a network interface, and then run "adb connect IP_ADDRESS" to connect to your device. There are more details in this page:

So in your case, there is no need to add port number in the path. It should be "/adb:3335F075A13600EC:". The port number is only needed when connected by TCPIP.

Best regards,

Best regards, Michael.

Attachment: 0001-enable-adb-access-with-port-format-e.g.-adb-164.2.16.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]