Skip to content
A Golang library for interacting with adb.
Go Makefile
Branch: master
Clone or download

Latest commit

Eun and zach-klippenstein Respect specified adb server port when issuing adb start-server (#28)
When a custom host/port is specified for connecting to the adb server, they are used to establish the connection. However, if the server is not running, they are not passed to the `adb start-server` command, and so the connection will fail because the server isn't listening on the expected port.

This change passes the address to the command, according to the following line from the adb usage info:
```
 -L SOCKET  listen on given socket for adb server [default=tcp:localhost:5037]
```
Latest commit 029cc6b May 30, 2017

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd Moved error definitions to an internal package, deleted the confusing… May 22, 2016
internal/errors Moved error definitions to an internal package, deleted the confusing… May 22, 2016
wire Moved error definitions to an internal package, deleted the confusing… May 22, 2016
.travis.yml Added a Makefile and used for CI. May 22, 2016
LICENSE.txt Initial commit – wire format implementation and some host client comm… Apr 11, 2015
Makefile Added a Makefile and used for CI. May 22, 2016
README.md Fixed travis badge to always point to master. Dec 28, 2015
adb.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
adb_test.go Renamed: HostClient -> Adb, DeviceClient -> Device, Server -> server. May 22, 2016
device.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
device_descriptor.go Renamed top-level package from `goadb` to just `adb`. Jan 15, 2016
device_info.go
device_info_test.go Renamed top-level package from `goadb` to just `adb`. Jan 15, 2016
device_state.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
device_state_test.go
device_test.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
device_watcher.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
device_watcher_test.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
devicedescriptortype_string.go Added a Makefile and used for CI. May 22, 2016
devicestate_string.go Make Device.State return DeviceState instead of string. May 22, 2016
dialer.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
dir_entries.go Renamed top-level package from `goadb` to just `adb`. Jan 15, 2016
doc.go Renamed top-level package from `goadb` to just `adb`. Jan 15, 2016
error.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
executable.go renamed files for platform specific isExecutable() Aug 27, 2016
executable_unix.go renamed files for platform specific isExecutable() Aug 27, 2016
executable_win.go renamed files for platform specific isExecutable() Aug 27, 2016
server.go Respect specified adb server port when issuing adb start-server (#28) May 30, 2017
server_mock_test.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
server_test.go Renamed: HostClient -> Adb, DeviceClient -> Device, Server -> server. May 22, 2016
sync_client.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
sync_client_test.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
sync_file_reader.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
sync_file_reader_test.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
sync_file_writer.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
sync_file_writer_test.go Renamed top-level package from `goadb` to just `adb`. Jan 15, 2016
util.go Moved error definitions to an internal package, deleted the confusing… May 22, 2016
util_test.go Renamed top-level package from `goadb` to just `adb`. Jan 15, 2016

README.md

#goadb

Build Status GoDoc

A Golang library for interacting with the Android Debug Bridge (adb).

See demo.go for usage.

You can’t perform that action at this time.