![]() Open the Mac Terminal using any of the 3 methods I described above and issue the following command.You should also extend the screen lock time out from display settings on your phone or tablet. Now, connect your Android device to your Mac.Go to the Developer Options on your Android device and enable USB debugging. ![]() Now that you have properly set up ADB and Fastboot on your Mac, let’s see how we can run commands. Using ADB and Fastboot Commands in Mac Terminal If you want an easier way to install and use ADB and Fastboot, read my detailed tutorial on adding ADB to a path on Mac to enjoy global ADB access. To verify that you have done everything properly, type the following command, and press the Enter key./adb You are all set to issue ADB commands in the Mac Terminal and you won’t get the ‘ adb command not found‘ error. Alternatively, you can press the Option key and right-click on the folder icon and select Copy “platform-tools” as Pathname in the context menu, and then paste the path in the Terminal.Now type the path of the ‘ platform-tools‘ folder and press the Enter key.Ĭd /Users/username/Desktop/platform-tools.Launch the Terminal by navigating to Go > Utilities on your Mac.You can read my tutorial describing 5 ways to copy file and folder path on Mac OS X. You can also do that by either manually typing the path to the folder containing ADB and Fastboot files or just by copying and pasting the folder path in the terminal. you must add the ‘platform-tools’ folder path to the Mac Terminal to run ADB and Fastboot commands. You can now execute any ADB or Fastboot command without any error.ĭon’t Miss: 300 Keyboard Shortcuts and Symbols for macOS Method 2: Type or Paste Folder Path in TerminalĪs you saw above. Doing so will CD (change directory) or set the Terminal’s path to the ADB and Fastboot files on your Mac.Ĭd /Users/rakeshshukla/Desktop/platform-tools.When the Terminal is launched, click on the ‘ platform-tools‘ folder icon, hold the Command button and drag it to the terminal window.Double-click it to launch the Mac terminal window. You’ll find Terminal among the list of Mac Utilities.Now, click on the Go option on the Mac Finder and select Utilities.you’ll have a new folder called ‘platform-tools‘ on your desktop. Extract the Zip file using Mac’s default Archive Utility app.Download the latest SDK Platform-tools.zip file for Mac from above. ![]() Method 1: Drag ‘Platform-tools’ Folder to Terminal
0 Comments
Leave a Reply. |