Android Tutorials - Herong's Tutorial Examples - v3.05, by Herong Yang
Install "adb" as Part of SDK Platform Tools
This section provides a tutorial example on how to install the 'adb' tool as part of the Android SDK Platform Tools package.
What Is Android SDK Platform Tools? Android SDK Platform Tools is a sub-package of the Android SDK (also called Android Studio) package. It contains "adb", "fastboot" and other tools to interface with connected Android devices.
If you are an Android app developer, you probably have already installed the Android SDK package on your desktop computer. Android SDK Platform Tools related programs are located in the "platform-tools" sub-directory. No additional installation is needed.
If you are not an Android app developer and want to run "adb" tool, you can download and install the Android SDK Platform Tools package independently as shown in this tutorial.
1. Go to Android SDK Platform Tools Website at https://developer.android.com/tools/releases/platform-tools.
2. Click "Download SDK Platform-Tools for Mac" or other links depending on the platform of your desktop computer.
3. Save the downloaded file, platform-tools_r34.0.3-darwin.zip, in the ~/Downloads directory.
4. Unzip the downloaded file, you see all files are extracted into a sub-directory called "platform-tools".
5. Move "platform-tools" to the ~/Applications directory. The installation is done.
6. Test the installation by running the following command:
herong$ ~/Applications/platform-tools/adb version Android Debug Bridge version 1.0.41 Version 34.0.3-10161052 Installed as /Users/herong/Applications/platform-tools/adb Running on Darwin 16.7.0 (x86_64)
Cool, I have successfully installed the Android SDK Platform Tools package on my macOS computer.
Now I am ready to connect my Android phone and create the Android debugging environment as shown in the next tutorial.
Table of Contents
Installing JDK 1.8 on Windows System
Installation of Android SDK R24 and Emulator
Installing Apache Ant 1.9 on Windows System
Developing First Android Application - HelloAndroid
Android Application Package (APK) Files
►Android Debug Bridge (adb) Tool
What Is Android Debug Bridge (adb)
►Install "adb" as Part of SDK Platform Tools
USB Debugging Connection to Use "adb" Tool
Wireless Debugging Connection to Use "adb" Tool
Debugging Connection to Android Device Emulators
Commands and Options Supported by "adb"
"adb install" and "adb uninstall" Commands
"adb push" and "adb pull" Commands
"adb shell" - Remote Shell Interface
AboutAndroid - Application to Retrieve System Information
android.app.Activity Class and Activity Lifecycle
View Objects and Layout Resource Files
Using "adb logcat" Command for Debugging
Build Process and Package File Content
Samsung Galaxy Tab 3 Mini Tablet
USB Debugging Applications on Samsung Tablet
USB Debugging Applications on LG-V905R Tablet