title: ADB server didn't ACK on macOS
body: <p>I am getting this error since two days ago when I updated my Android Studio to the latest stable version 2.3; the full error message I am getting from Gradle Console is:</p>
  
  <pre><code>07:59:59 E/adb: error: could not install *smartsocket* listener: Address already in use
  07:59:59 E/adb: ADB server didn't ACK
  07:59:59 E/adb: * failed to start daemon *
  07:59:59 E/adb: error: cannot connect to daemon
  07:59:59 E/ddms: '/Users/USER_NAME/Library/Android/sdk/platform-tools/adb start
  server' failed -- run manually if necessary
  </code></pre>
  
  <p><strong>My attempts to solve the issue:</strong></p>
  
  <ul>
  <li><p>kill all <code>adb</code> processes and make sure no process is holding port 5037, <code>adb kill-server</code> (says <code>* server not running *</code> even in cases when adb is running), close Android Studio, delete <code>~/.android</code> directory, run <code>adb start-server</code> (says <code>* daemon not running. starting it now at tcp:5037 *; * daemon started successfully *</code>, start Android Studio and run application, MAC throws error <code>adb quit unexpectedly</code> and gradle console shows same the error I posted above.</p></li>
  <li><p><a href="https://gist.github.com/tahmidsadik112/f08356d14a85d898299a" rel="noreferrer">uninstalled and deleted all Android Studio stuff</a> (except for projects directory), restarted MAC, installed fresh and latest android studio.</p></li>
  <li><p>increased gradle vm ram <code>org.gradle.jvmargs=-Xmx1536M</code> in project <code>gradle.properties</code></p></li>
  <li><p>uninstalled antivirus and restarted the mac</p></li>
  </ul>
  
  <p><strong>Environment:</strong></p>
  
  <ul>
  <li>OS: MacOS Sierra 10.12.3</li>
  <li>Android Studio: 2.3</li>
  <li>buildToolsVersion: '25.0.0'</li>
  <li>Android Debug Bridge version: 1.0.39</li>
  </ul>