

During the installation, it might ask for your password. First of all, open the Terminal on your Mac and execute the below command.

Homebrew is an open-source package manager that installs the missing packages. We will have to install Homebrew first on macOS and then we can install the Android platform-tools easily. Here, we will take a slightly different path to install ADB on macOS. Congratulations! ADB is now successfully installed on your Windows PC. If it does not detect your device then run adb devices again and this time, it will definitely detect your device.

Enable the “Always allow” checkbox and then tap on “Allow”. It will prompt a “USB debugging” prompt on your smartphone.After that, connect your Android device to Windows PC and execute adb devices command.Instantly, a command prompt window will open up in the ADB directory. Now head over to the extracted folder, and click on the address bar.
