Skip to content

Connect after pairing fails #4

Description

@rmartinsanta

After a device has been successfully paired, how do we connect ADB? I may have misunderstood the documentation, but I am doing something like:

AdbConnectionManager connectionManager = AdbConnectionManager.getInstance(context);
boolean paired = connectionManager.pair(ip, PAIR_PORT, PIN);
boolean connected = connectionManager.connect(ip, ADB_PORT); // Fails with ECONNREFUSED, port is closed. Tested same port as pairing port and 5555

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions