![]() Should it have been inside the Downloads directory, the command should be: cd /Downloads/platform-tools The above command assumes that the “platform-tools” folder is located on the Desktop. To do this, enter the following command in the Terminal: cd /Desktop/platform-tools ![]() So, you will need to change the Terminal’s current directory to the “platform-tools” folder using the good ol’ cd command. Inside this directory are your standard directories like the Documents, Downloads, as well as the Desktop. By default, the Terminal opens up inside the current user directory (e.g. Once that is done, open the “Terminal” app on your computer. For quick access, move the Platform-Tools folder to a more visible place like the Desktop. This folder will contain the ADB and Fastboot binaries. For Linux, the filename should be something like – “platform-tools_v31.0.1-linux.zip”.Įxtract the contents of the ZIP file to get the “platform-tools” folder. Then go to the Downloads directory using your computer’s file explorer and locate the platform-tools package.įor demonstration, I am using macOS, and the downloaded file is named “platform-tools_v31.0.1-darwin.zip”. To open an ADB/Fastboot command window on a Linux or macOS computer:įirst, download the latest Android SDK platform-tools for your macOS or Linux computer. This post by Bill Kindle describes a list of those ways. You could use the File Menu, the Address Bar, and so on. There are multiple ways to launch the PowerShell or CMD window inside a folder. That’s it! You can now start using ADB/Fastboot commands on your Windows computer. While holding the SHIFT key, right-click inside the folder to open the contextual menu and select “Open PowerShell window here” or “Open command window here” depending on the Windows OS version. Now open the “platform-tools” folder and hold the SHIFT key on the keyboard. While not necessary, you could do the same. That way, I don’t have to dig through directories to find it. I generally move this folder to the C:\ drive of my Windows computer for easier access. This is the folder that contains all the Android SDK tool binaries including ADB and Fastboot. The extracted folder should contain another folder named “platform-tools”. Click “Extract” when prompted to select a destination to extract files. platform-tools_r31.0.1-windows.zip) and select “Extract All” from the contextual menu. Then open File Explorer and navigate to the folder where the package was downloaded. To open an ADB/Fastboot command window on a Windows computer:įirst, download the latest Android SDK platform-tools for Windows to your computer. It’s extremely simple and once you get a hold of this simple trick, you’d be able to open a command-line window and use ADB/Fastboot commands in a matter of seconds. I am going to show you how to open an ADB/Fastboot command window inside the Platform-Tools folder on Windows, macOS, and Linux computers. How to Open ADB/Fastboot Command Window in Platform-ToolsĪnd that’s what this guide is all about. In my personal opinion, this option also allows you to move the Platform-Tools folder around and to a different location, without having to worry about replacing the old PATH with the new one. While the first option is more convenient, there are users (including me) who’d like to opt for a more hands-on approach and open the ADB/Fastboot command window inside the Platform-Tools folder (working directory) whenever they’d like to use ADB or Fastboot. Or, you could open the command-line window directly inside the Platform-Tools folder.īoth the options above are valid and there’s generally no right or wrong approach.This is something I have already covered in my guide to using ADB/Fastboot from any folder on your computer. You can either add the Platform-Tools folder (which includes ADB and Fastboot binaries) to the PATH variable on your Windows, macOS, or Linux computer.To start using ADB or Fastboot commands, you have two choices: If you didn’t know, a command-line window can only read files or executable programs (like ADB and Fastboot) that are present inside the working directory, standard directories, or inside non-standard directories that are added to the PATH environment variable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |