title: adb not detecting device when appium server is run
body: <p>I have connected my device with tcp. And its shows the device on adb devices. </p>
  
  <pre><code>adb connect 192.168.0.112
  connected to 192.168.0.112:5555
  
  adb devices
  List of devices attached 
  192.168.0.112:5555  device
  </code></pre>
  
  <p>But when appium server is run its unable to detect the device.</p>
  
  <pre><code>[ADB] Using adb from /home/sher/Android/Sdk/platform-tools/adb
  [AndroidDriver] Retrieving device list
  [debug] [ADB] Trying to find a connected android device
  [debug] [ADB] Getting connected devices...
  [debug] [ADB] 0 device(s) connected
  [debug] [ADB] Could not find devices, restarting adb server...
  [debug] [ADB] Restarting adb
  [debug] [ADB] Killing adb server on port 5037
  [debug] [ADB] Getting connected devices...
  </code></pre>
  
  <p>Please soembody help. I have been stuck with this for few days. I tried many articles and nothing helped. </p>