As a final resort, you should try uninstalling and reinstalling the platform tools via the SDK Manager on Android Studio. Google Pixel) and select the ‘ Update Driver ‘ option. Double-click on ‘ Other device ‘ in the right pane to expand it. Then right-click on ‘ Computer ‘ and select ‘ Manage ‘. 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. First, connect your Android device to the Windows PC’s USB port. Finally, try running the application to see if the error message is still bothering you or not.
WINDOWS ANDROID STUDIO ADB INSTALL
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.Fix 1: Missing Android SDK Platform Package. Once done, you’ll be able to select Android API XX Platform from the drop-down menu. On Windows, this error may occur when using the Bash shell provided in the Git SCM package.Instead, Android Studio handles the packaging. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device. 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. Android Debug Bridge ( adb) is a versatile command-line tool that lets you communicate with a device.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.