Error initializing ADB: Unable to create Debug Bridge: Unable to start ADB server

后端 未结 4 918
情歌与酒
情歌与酒 2020-12-03 14:33

I need some help with this error. When no other of these questions are helping me, then this means I need to remove and reinstall Android Studio.

Here\'s the error:<

4条回答
  •  北海茫月
    2020-12-03 15:03

    I spent around a complete day to look for the solution but couldn't find the exact one.

    Finally what I did was that I uninstalled my antivirus and after that it worked like a charm.

    So, here I shortlist the steps to check whether you are solving for the correct problem or not:-

    1. Run command prompt and set path to where adb.exe file is present. (In most of the cases it's found at C:\Users\YOUR_USERNAME\AppData\Local\Android\Sdk\platform-tools)
    2. Type adb start-server and press enter.
    3. If there is an error displayed saying something like "Cannot connect to daemon" , then you must look in your antivirus for firewall settings and add the path to its exceptions or you can simply uninstall your antivirus.

提交回复
热议问题