I am using Windows 10 and when I launch the Virtual Device Emulator in Android Studio I keep getting the message which reads:
\"The ADB binary at C:\
I followed the answer, but the magic final step was deleting the existing virtual environment and creating a new one.
This is an years old bug.
Check your adb version like this : (the adb path is given with the error itself)
C:\Users\<your_user_name_>\AppData\Local\Android\Sdk\platform-tools\adb.exe --version
output :
Android Debug Bridge version 1.0.41
Version 29.0.4-5871666
Installed as C:\Users\sunil\AppData\Local\Android\Sdk\platform-tools\adb.exe
It means this adb comes from the latest sdk platform tools 29.0.4. Check the latest version from official site here.
If you already have the latest version of ADB installed, and still getting the error, this is a known issue. Google hasn't yet provided any other ADB. Click on the "never show again" option and continue.
If you are stuck after following each of the steps outlined in above, I will suggest you combine more than one answers. The answers of @Kuya and @褚阳光 worked for me. Try them out. I can explain more if the steps are yielding results for you.
Had the same issue but in my case the fix was slightly different, as no updates were showing for the Android SDK Tools. I opened the Virtual Device Manager and realised my emulator was running API 27. Checked back in the SDK Manager and I didn't have API 27 SDK Tools installed at all. Installing v 27 resolved the issue for me.
I solved this error by uninstalling two older SDK build tools versions, leaving only the most recent one.
None of the top-voted answers worked for me, except when I unchecked "Use detected ADB location" as mentioned above by @褚阳光. Fortunately, in my case though, the message didn't show up, even when I turned it back on. In other words, the problem might be resolved by restarting "Use detected ADB location" :)