How to Setup ADB on Mac OS
At present Android SDK and its components like ADB only supports systems running Mac OS X 10.5.8 or higher. So, make sure that you meet the requirement.
- Download the Android SDK package for Mac OS [android-sdk_r21.1-macosx.zip]
- Extract the downloaded zip package to your Home directory.
- Now, you shall see a folder named android-sdk-macosx
- Navigate inside android-sdk-macosx/tools/
- Double-click “android” to execute the SDK Manager.
- Make sure everything is un-ticked. Now select Android SDK Platform-tools and install it.
- During the next window, you will be prompted. Accept the license and click on Install.
- When the installation is complete, close the window.
- The SDK manager has now downloaded the platform-tools successfully, which certainly includes our prior ADB.
- The next step is to define the path where ADB is present.
- Open terminal window and type following:nano ~/.bash_profile
- This shall open the .bash_profile file. Now enter the following line to define the ADB path.export PATH=${PATH}:~/android-sdk-macosx/tools export PATH=${PATH}:~/android-sdk-macosx/platform-tools
- Reboot your system now to take effect.
- To confirm the configuration, open Terminal and type:adb
- You have now successfully installed and configured ADB on your Mac OS machine.
2 Comments