SharpAdb / AdvancedSharpAdbClient

AdvancedSharpAdbClient is a .NET library that allows .NET, Mono and Unity applications to communicate with Android devices. It's improved version of SharpAdbClient.
https://sharpadb.github.io
Apache License 2.0
203 stars 54 forks source link

Default port doubling #53

Closed RAREGUN closed 1 year ago

RAREGUN commented 1 year ago

Describe the bug

Somehow calling ConnectAsync overload without port doubles default port

Steps to reproduce the bug

Calling string result = await client.ConnectAsync("127.0.0.1", cancellationToken: token); will produce unable to connect to 127.0.0.1:5555:5555

Expected behavior

No response

Screenshots

No response

NuGet package version

2.5.5

.NET Platform

.NET 7

Platform type

Windows

System version

No response

IDE

No response

Additional context

No response

wherewhere commented 1 year ago

???

RAREGUN commented 1 year ago

In fact, the port is not duplicated, this is a message output issue

wherewhere commented 1 year ago

???

wherewhere commented 1 year ago

Is that something wrong with your adb? image

RAREGUN commented 1 year ago

Is that something wrong with your adb?

Exactly