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

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



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:-


Error initializing ADB: Unable to create Debug Bridge: Unable to start ADB server: adb server version (36) doesn't match this client; killing... could not read OK from ADB server * failed to start daemon error: cannot connect to daemon 'C:AndroidSdkplatform-toolsadb.exe start-server' failed -- run manually if necessary.





you forgot to mention "I googled for the error message for days and found nothing".
– Marcin Orlowski
Mar 17 at 18:31




3 Answers
3



There are a couple of solutions for your question depending on what exactly is causing the problem.



So, just follow the following steps.



Step 1:- Close Android-Studio.
Step 2:- Open Command prompt or win + r, type cmd and press Enter.
Step 3:- Navigate to your platform-tools, in most of the cases the location is:


cmd


platform-tools


C:Users[user]AppDataLocalAndroidandroid-sdkplatform-tools`



but in your case, the location is:


C:AndroidSdk



Step 4:- Type adb.exe start-server, Press Enter
Step 5:- Open Android-Studio again.


adb.exe start-server


Android-Studio



The problem should be solved!



If the problem persists, then follow these steps-



Step 1:- Close Android-Studio.
Step 2:- Press Alt + Ctrl + Del on your keyboard, then choose Start Task Manager.


Android-Studio


Start Task Manager



Windows Task Manager opens.


Windows Task Manager



Step 3:- Go to the processes tab.
Step 4:- Look for adb.exe and select that.
Step 5:- Press End Process.
Step 6:- Open Android Studio again.


processes


adb.exe


End Process


Android Studio



That's it. Now your problem must be solved!



But if the problem is still there (which I don't think will happen), then there is something wrong (or might be missing) in your platform-tools.


platform-tools



To fix that, delete platform-tools from your computer, then download them again from Official Android Developer website


platform-tools



Extract the downloaded file.



Now place the extracted file, where platform-tools were located before deleting.


platform-tools



Default Location of platform-tools is


platform-tools


C:Users[user]AppDataLocalAndroidandroid-sdk



But in your case, the location is


C:AndroidSdk



I spent around a complete day to look for the solution but couldn't find an 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:-


adb start-server



I've faced a similar problem and noticed the adb was missing from the platform-tools. This
SO answer helped me to fix that by reinstalling the platform-tools package.




Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

How do I collapse sections of code in Visual Studio Code for Windows?

Node.js puppeteer - Use values from array in a loop to cycle through pages