I spent quite sometime figuring how to set up adb on Mac, so I figure writing how to set it up might be useful to some people. adb is the command line tool to install and run android apps on your phone/emulator
Nobody can call oneself an avid Android user without being familiar with ADB and Fastboot. They are very useful command-line tools that can be used to perform countless developer-level tasks on Android devices. You can use ADB and Fastboot commands on Windows, macOS, or Linux to control and customize your Android phone or tablet. Before you can do that, however, you must download and install the ADB drivers on your computer. The SDK Platform tools pack together all required files to execute ADB and Fastboot commands. Below, you can download the latest SDK platform tools Zip for Windows, Linux, and macOS X directly from the Google servers.
Android Sdk Download Adb Mac
Download: https://shurll.com/2vFiMS
SDK is an abbreviation for Software Development Kit. The SDK platform tools contain the ADB and Fastboot drivers for Android. These drivers are very essential because they let a computer establish a connection with an Android phone, tablet, or smartwatch connected over a USB cable or WiFi. Originally, the Android SDK platform tools were a part of the Android SDK Manager and Android Studio. Later, Google decided to release the Platform-tools separately in a compact easy-to-download Zip package for operating systems like Windows, Linux, and Mac.
Various guides on the Internet will recommend you to download the Android SDK manager to get ABDB running on your Mac. However, if you only want to use ADB/Fastboot to unlock the bootloader of your device and root it, there is no need to download the 400MB+ SDK.
This will download and install the very latest version ADB and fastboot files on your Mac. Depending on the speed of your Internet connection, this step can take anywhere between a few seconds to a few minutes.
Android SDK Platform Tools download is now available as a zip file directly from Google. Just download the latest SDK platform-tools zip containing ADB and Fastboot binaries for Windows, Mac, and Linux from below and unzip it. You can then be able to execute ADB and Fastboot commands to install APK, reboot your Android into the bootloader mode and flash stock ROM and recovery images using your Windows, Mac or Linux or Ubuntu computer.
Platform-Tools is a component of the Android SDK and it includes different tools, such as ADB, fastboot, and systray. If you have ever wanted to download ADB and Fastboot without having to download the whole of Android Studio or SDK, Google has finally made those binaries available officially for Windows, Mac, and Linux. Thus you can now download the latest ADB and Fastboot files from Google Developer site.
Before this new development, users had to download Android SDK or Studio, which are a 400MB to 1.6GB download, and rely on 3rd-party sources to grab the ADB and Fastboot drivers. You must be familiar with Minimal ADB and Fastboot executable that we needed to install to get the Android SDK Platform Tools.
Download ADB and Fastboot from the Android Developer website. When you unzip the download, the contents will be collected together into a folder called platform-tools. There are several other items in the folder, but you can ignore these.
If you're on Windows, you will also need to download drivers for your device. There's a list of links for most popular manufacturers on the Android developer website. Drivers aren't needed on Mac or Linux.
Since it was data-consuming with over 1GB of file size, most of the advanced Android users used to download third-party ADB and Fastboot files. For example, some of you may be aware of Minimal ADB and Fastboot as most of the people used to download. But third-party downloads can have malicious malware and Trojans that can do more damage than good. It is time to ditch the third-parties and get the latest tools directly from Google. The latest SDK Platform Tools file size is less than 4MB. The tools are available for Windows, Linux as well as Mac users. The downloadable links are provided below.
The Android SDK is composed of modular packages that you can download separately using the Android SDK Manager. For example, when the SDK Tools are updated or a new version of the Android platform is released, you can use the SDK Manager to quickly download them to your environment. Simply follow the procedures described in Adding Platforms and Packages.
This might not sound something astoundingly amazing, but it has a great use. Reported from official forums and communities, there have been numerous cases where users have had a hard time uninstalling a third-party application. Such issues could surface due to malfunctioned properties of the app or if the app is downloaded from an unreliable source. But no worries, since adbLink has got your back.
This article assumes you have Visual Studio 2019 for Mac or Visual Studio 2019 for Windows installed with the Mobile development with .NET workload. We'll access ADB from the SDK command prompt lunched from Visual Studio. If you want to run ADB on Linux, without Visual Studio or using the built in terminal additional configuration may be required but we won't cover that here. ADB can be downloaded as part of the Android SKD Platform Tools.
The default use of the command adb logcat will display everything in the terminal, updating live. This will fly past so quickly that it will be hard to make any sense of it, but it is interesting to see just how active the android system is even when you're not actively using an app.
Once you have an adb shell session open, your likely to want to look at the files in your app's sandbox but if you search around they're nowhere to be seen. This is because every android app runs as it's own user to protect the user's content from malicious code in other apps. run-as helps us out here by allowing you to run commands as if you were the app. This is similar to typing sudo which at a terminal makes you run-as the administrator.
Third-party utilities and toolkits are also available to download ADB and Fastboot for various platforms. We have linked up one of such toolkits called Minimal ADB and Fastboot below in the article. However, we would always recommend you to download these tools from the official source. The latest ADB, Fastboot can be downloaded for Windows, Mac and Linux. They are available in a ZIP package that you download and extract it anywhere in your computer where you want to use it. And the total size is just around 10MB. You do not need much of the tools attached with it if you just want to perform various ADB and Fastboot related functions on your phone.
If you are a developer, it is recommended to download ADB, Fastboot or update them directly from inside the SDK Manager. This ensures the packages are saved to the right place with the rest of your Android SDK platform tools and easily updated.
The latest releases of Android SDK Platform Tools are available below and you can download ADB and Fastboot for various platforms: Windows, Mac and Linux. This page will always have the latest ADB / Fastboot binaries that are also included with the latest release of Android Studio / SDK Manager.
Once you download ADB and Fastboot (Android SDK Platform Tools), you do not really need to install it anywhere. The Platform-Tools package is a ZIP file, means you can simply extract it anywhere in your computer. Just make sure you download it for your correct desktop platform.
As mentioned earlier, Minimal ADB and Fastboot is a third-party toolkit modified for developers who only want to download ADB and Fastboot utilities from the above packages. You do not get extra tools with this, hence the much smaller size (around 1MB only). We have a detailed guide on how to download, setup and use this toolkit.
If you try flashing the new update / factory image with an older version of Fastboot tool, you will get an error message that fastbootd was required. These tools have been deprecated, if you want to still download them, get them from the following links:
Google has made ADB, fastboot, and other Android developer tools available as a standalone download. Previously, accessing these tools necessitated that users download Android Studio or the Android SDK, which meant grabbing files between 290 MB and 1.6 GB in size. Now you can download the platform tools (which contains ADB, fastboot and more) for Windows, MAC and Linux in .zip folders ranging from 3.4-3.7 MB.
Firstly, ensure that you have the latest (or at least a recent) version of the Android SDK Platform-Tools. If for some reason you do not use Android Studio (AS), click that link and download the standalone package for your respective OS.
NOTE: For Vuforia projects targeting Android API level 31 or above, you should make sure to add the permission android.permission.HIGH_SAMPLING_RATE_SENSORS to the manifest.xml file. The permission ensures the Vuforia Engine can retrieve sensor data from Android devices using VISLAM.
Android Studio includes a SDK manager that allows you to install additional SDK components, besides the ones installed with Android Studio, and to update your Android SDK tools.We recommend running the SDK Manager after the installation of Android Studio, in order to download the necessary components for developing with Vuforia Engine.
The Vuforia Engine Sample can be downloaded from Once downloaded, extract the sample ZIP package and copy it into the samples folder under your Vuforia Engine installation directory (e.g., C: \...\Android\vuforia-sdk-android-xx-yy-zz\samples\ ).
To enter fastboot mode on the SHIELD TV (2017 edition), follow the instructions in the "How To Flash" section of the latest open source README (for example, the 5.0.0 README linked above or here).Windows USB DriverNVIDIA provides updated Windows USB drivers for developers having issues with the default Google adb or fastboot driver. If your machine is unable to detect SHIELD, download this driver and follow the instructions linked from the Download Center to install. 2ff7e9595c
コメント