This can happen due to several reasons including when your antivirus software removes the adb.exe file due to a false alarm. Issues like these are pretty common with antivirus software and thus, while using one, you need to make sure that it isn’t triggering a false positive on the files that you are working with. In addition to that, your project settings can also cause this error message to pop up. To understand and establish a better understanding of the error message in question, let us discuss the different reasons the issue may arise in more detail. However, do remember that the causes include but are not limited to the ones mentioned down below. Now that we have gone through the possible causes of the issue, let us get started by mentioning down the different workarounds that are available to you to get the issue sorted. So, without further ado, let us dive right into it.

Restore ADB From Third-Party Antivirus

As it turns out, the first thing that you should do when you face the error message in question is to check the third-party antivirus software that is installed on your system. More often than not, antivirus software can trigger false-positive and quarantine files that are not dangerous at all. In this case, the adb.exe would be the targeted file that is regarded as a dangerous or potential threat by the antivirus software and as a result removed from your system. If this case applies to you, especially if you are using the Avast antivirus, you should check the virus chest of your antivirus software to see if the file has been quarantined by it. In case it is, simply restore the file and then try running the application. To do this, follow the instructions given down below:

Change Project Settings

If your antivirus software is not the culprit or if it doesn’t apply to you, the error message is likely being triggered due to your project settings. This happens when your project has no SDK assigned to it and as a result, it does not have access to ADB which is why you face the error message in question. To resolve this, you will have to change the default project settings which are set to No SDK by default. These settings can be found under Project Structure. To do this, follow the instructions given down below:

Install Android SDK from SDK Manager

As it turns out, if you are missing the relevant Android version SDK on your system, that will also cause the error message to arise. If this case is applicable, you can easily resolve the error message by installing the respective Android SDK from the SDK Manager found in the Android Studio. To do this, follow the instructions given down below:

Reinstall Platform Tools

Finally, if you are still facing the error message in question after trying the methods mentioned above, it could be that the issue is being triggered by damaged or corrupted platform tools files. If this scenario applies to you, you will have to reinstall the platform tools on your system to get rid of this error message. This can be done easily via the SDK Manager. You can uninstall platform tools via the SDK Manager and after that, you can easily install it again via a few clicks. To do this, follow the instructions given down below:

How To Make An Android App For Your Smart Home System on Android Studio?How to Start Developing Android Apps in Visual Studio 2017How to Fix ‘Plugins Failed to Load’ Error in OBS Studio?How to fix Encoding Overloaded in OBS Studio How to Fix Error  Unable to Locate ADB  on Android Studio  - 3How to Fix Error  Unable to Locate ADB  on Android Studio  - 4How to Fix Error  Unable to Locate ADB  on Android Studio  - 18How to Fix Error  Unable to Locate ADB  on Android Studio  - 97How to Fix Error  Unable to Locate ADB  on Android Studio  - 5How to Fix Error  Unable to Locate ADB  on Android Studio  - 79How to Fix Error  Unable to Locate ADB  on Android Studio  - 73How to Fix Error  Unable to Locate ADB  on Android Studio  - 49How to Fix Error  Unable to Locate ADB  on Android Studio  - 82