From 0cb9550b506ec9888446f9cefb25f76c098e51cf Mon Sep 17 00:00:00 2001 From: Samuel Carlsson Date: Tue, 20 Dec 2016 09:06:44 +0100 Subject: [PATCH] Updating README.md regarding unix domain sockets - Adding short troubleshooting guide instructing users running with adb server version serving via a unix domain socket. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 80b655c..035885a 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,21 @@ project name and tag ignoring actual values from pom.xml. So you need to write: ``` +## 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