0

Since upgrading to Android Studio Bumblebee, the adb demon doesn't start automatically when launching AS. I have to manually start it with adb start-server every time I launch AS in order to run/debug projects. That wasn't the case before the upgrade.

The setting is set to automatically start:

enter image description here

Is there a way to start it automatically when launching Android Studio?

Zain
  • 37,492
  • 7
  • 60
  • 84

2 Answers2

2

I don't know a way too but i helped me with a simple batch file. The code of this file is:

C:\Users\ 'user'\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server

start /d "C:\Program Files\Android\Android Studio\bin" studio64.exe

Of course you have to look if the path is the same on your computer. If you save this code in a txt-file and change the ending from ".txt" to ".bat" it should work. At least it does at my computer.

I hope that could help because in my case it works now... Isn't a quite beautiful solution but at least it works.

Skilsu
  • 21
  • 3
  • Thanks. I got this resolved by disabling `adb mDNS for wireless debugging`; please have a look at my answer. – Zain Feb 10 '22 at 17:03
1

Thanks to this answer. Resolved by disabling adb mDNS for wireless debugging:

Android Studio > Settings > Build, Execution, Deployment > Debugger > Untick "Enable adb mDNS for wireless debugging"

enter image description here

Zain
  • 37,492
  • 7
  • 60
  • 84