title: error: cannot connect to daemon
body: <p>Almost a month ago I directly debugged application on my device with Processing (PDE) but today when I'm trying to deploy the application it doesn't work (keep in mind that I have updated SDK) it keeps getting an error as follows:</p>
  
  <pre><code>    error: cannot connect to daemon
  nope: adb devices
      status: 1
      1065ms
      stdout:
  * daemon not running. starting it now *
      stderr:
  CreateProcess failure, error 2
  * failed to start daemon *
  </code></pre>
  
  <p>Even if I run any of the command like <em>adb devices</em> or <em>adb shell</em> I get an error </p>
  
  <pre><code> C:\Users\Hassan&gt;adb devices
  * daemon not running. starting it now *
  CreateProcess failure, error 2
  * failed to start daemon *
  error: cannot connect to daemon
  </code></pre>
  
  <p>I looked on several places and almost everyone said that kill the adb.exe process from task manager but any of that didn't work, I have also disabled the antivirus in case if that was messing, and also allowed the port 5037 in my firewall. what else can i try ?</p>