
MacOS, Android Studio 3.6.1, SDK Android 10.0. You can also put adb.exe as a safe file in you Antivirus program. If you find it there please restore the file and it will start working. Sometimes the Antivirus program thinks adb.exe is a virus. 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 /platform-tools directory completely and install it again using the SDK manager.Ĭheck your antivirus chest. Click and open the standalone SDK manager, then install/update the
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. Check your /platform-tools directory and if it does not exist, then open the SDK manager in the Android Studio (a button somewhere in the top menu, android logo with a down arrow), switch to SDK tools tab and and select/install the Android SDK Platform-tools. As a final resort, you should try uninstalling and reinstalling the platform tools via the SDK Manager on Android Studio.The ADB is now located in the Android SDK platform-tools. If you’re still facing the can’t locate ADB error message on Android Studio then it can possible that somehow the damaged or corrupted platform-tools files have been corrupted or missing. Finally, try running the application to see if the error message is still bothering you or not. From the SDK Manager, go to SDK Platforms > Install the SDK Platform for your respective Android version. Next, go to Appearance & Behavior > System Settings > Android SDK.
Launch the Android Studio application > Open up the Preferences window from File > Settings.You can install the respective Android SDK from the SDK Manager that you can find in the Android Studio. If in case, the specific Android SDK version isn’t available on your system then you can also receive the error message. Finally, click on OK to save changes and check for the error again.Once done, you’ll be able to select Android API XX Platform from the drop-down menu.If in case, there are no options in the drop-down menu, you can click on the New button to choose Android SDK and then choose the directory where Android SDK is present.
Then search for Project which has no SDK and change it to Android API XX Platform from the drop-down menu.
Here click on Project under Project Settings. Launch the Android Studio application on the PC.