

If this is applicable, you will have to restore the file from there and everything should be good. Avast antivirus has been known to cause this a lot with ADB where it locks the file in the virus chest.


This can happen due to several reasons including when your antivirus software removes the adb.exe file due to a false alarm. As it turns out, the error message appears when Android Studio is not able to locate the ADB.exe file that is located in the platform-tools folder. While trying to run your app via the Android Studio, you might face the “ Unable to Locate ADB” error message that stops the simulation. It can be used for various purposes as it facilitates a bunch of actions including installing and debugging apps on your device. Android Debug Bridge or ADB allows you to communicate with your devices via a command-line interface.
