Skip to content

Commit 06ee35c

Browse files
committed
Fix for connection of adb server not starting the right server
1 parent f022482 commit 06ee35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adb/connection.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Connection extends EventEmitter
4040

4141
startServer: (callback) ->
4242
debug "Starting ADB server via '#{@options.bin} start-server'"
43-
return this._exec ['start-server'], {}, callback
43+
return this._exec ["-P #{@options.port}", "start-server"], {}, callback
4444

4545
_exec: (args, options, callback) ->
4646
debug "CLI: #{@options.bin} #{args.join ' '}"

0 commit comments

Comments
 (0)