I’m getting an error message in Android Studio with adb:
Could not automatically detect an ADB binary. Some emulator functionality will not work until a custom path to ADB is added in the extended settings page.
Note that I have adb as part of the development tools and have set variable path, have tested in cmd and it’s functional.
What am I missing here?
Do I have to set some path to adb in Android Studio as well?
I’m using Android Studio 2.3.3.
that error happens because your anti-virus moved the adb.exe to the vault and block it, so you need to give that file an exception that it is not a virus, if that didn’t fix it you may need to uninstall the SDK tools and reinstall it again to work.
open the SDK manager in the Android Studio (a button somewhere in the top menu, android logo with a down arrow), switch to the SDK tools tab and select/install the Android SDK Platform-tools.
Alternatively, you can try the standalone SDK Manager: Open the SDK manager and you should see a "Launch Standalone SDK manager" link somewhere at the bottom of the settings window. Click and open the standalone SDK manager, then install/update the
"Tools > Android SDK platform tools".
If the above does not solve the problem, try reinstalling the tools: open the "Standalone SDK manager" and uninstall the Android SDK platform-tools, delete the [your SDK directory]/platform-tools directory completely and install it again using the SDK manager.
Hope this helps!
Answered By – Ridha Rezzag