Updating README.md regarding unix domain sockets

- Adding short troubleshooting guide instructing users running with adb server version serving via a unix domain socket.
This commit is contained in:
Samuel Carlsson 2016-12-20 09:06:44 +01:00 committed by GitHub
parent 251b3ac970
commit 0cb9550b50

View File

@ -68,6 +68,21 @@ project name and tag ignoring actual values from pom.xml. So you need to write:
</dependency>
```
## Troubleshooting
If you cannot connect to your device check the following.
- Your adb server is running by issuing `adb start-server`
- You can see the device using adb `adb devices`
If you see the device in `adb` but not in `jadb` please file an issue on https://github.com/vidstige/jadb/.
### Workaround for Unix Sockets Adb Server
Install `socat` and issue the following to forward port 5037 to the unix domain socket.
```bash
socat TCP-LISTEN:5037,reuseaddr,fork UNIX-CONNECT:/tmp/5037
```
## Contributing ##
This project would not be where it is, if it where not for the helpful [contributors](https://github.com/vidstige/jadb/graphs/contributors)
supporting jadb with pull requests, issue reports, and great ideas. If _you_ would like to