Mac OS: Android Studion ADB connection error
<p>I want to start my app on my device or an emulator but I cant since Adb won't start. 
Adb works just fine when called from the command line but it can't run on android studio. when I run adb start-server it runs successfully. I have changed the default android server port to 12345 since the 5037 is used.</p>

<p>Here are the results of adb devices and adb start-server commands:</p>

<blockquote>
  <p>adb devices</p>
  
  <p>List of devices attached</p>
  
  <p>0e6acf5f2599540e device</p>
</blockquote>

<p>and </p>

<blockquote>
  <p>adb start-server</p>
  
  <ul>
  <li>daemon not running. starting it now on port 12346 *</li>
  <li>daemon started successfully *</li>
  </ul>
</blockquote>

<p>In the idea.log file I have the following error:</p>

<blockquote>
  <p>java.util.concurrent.TimeoutException     at
  java.util.concurrent.FutureTask.get(FutureTask.java:205)  at
  com.android.tools.idea.ddms.adb.AdbService$1.run(AdbService.java:232)
    at
  com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    at
  java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at
  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745) 2016-12-27 10:44:32,484
  [3713735]   WARN -            #com.android.ddmlib -
  '/Users/nabila/Library/Android/sdk/platform-tools/adb,start-server'
  failed -- run manually if necessary</p>
</blockquote>

<p>Android Studio version: 2.2.3
Android Debug Bridge version 1.0.36
Revision 0e9850346394-android</p>

<p>Thanks in advance</p>