title: Failed to start adb server in Android Studio
body: <p>Environment:</p>
  <p>Windows 10 Pro</p>
  <p>Android Studio Bumblebee 2021.1.1 Patch 2</p>
  <p>Android SDK Platform-tools 33.0.1 (adb)</p>
  <p>Firstly I need to mention that the problem happened on one of my laptop. Only this laptop have this issue, which is strange. Also it's not because of the genymotion thing. Port 5037 is not occupied and I've tried all sorts of solutions such as killing adb process and restart, deleting the .android folder, reinstalling everything and so on...</p>
  <p><strong>Problem</strong>:</p>
  <p>Every time I start android studio, it will automatically try to start the adb server. But <strong>TWO adb processes</strong> appear in the task manager,</p>
  <p><a href="https://i.stack.imgur.com/oQIvU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oQIvU.png" alt="enter image description here" /></a></p>
  <p>and the event log in android studio keeps printing this:</p>
  <p><em><strong>'...\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary</strong></em></p>
  <p>Then it will repeat over and over again.</p>
  <p>I've also tried to start the adb server on different ports like 5038, it still doesn't work for most of the time.</p>
  <p>However, I did succeed starting the adb server for twice, one after I deleted the .android folder and the other after I changed the adb port to 5038. I don't know why it suddenly worked and it won't be long before it starts to malfunction again, like after several hours.</p>
  <p>I still cannot figure it out after a desperate struggle... I'm wondering if anyone has the same situation. If you need further clarification on something let me know. Any help is appreciated!</p>