Windows OS – Installing Android Debug Bridge

1. Install Cygwin

http://cygwin.com/install.html

cygwin

2. Install JDK

http://www.oracle.com/technetwork/java/javase/downloads/index.html

windowsVersion

windows_versionAfter download, install JDK as usual.

3. Download SDK: 

http://dl.google.com/android/android-sdk_r22.0.4-windows.zip

3.1 Extract this .zip file into a folder

3.2 Run the Android SDK manager by double click into the SDK Manager.exe icon

RunSDK

3.3 Install the package Android SDK Platform-tools

install

4. After that, add the path “{$parentDir}\android-sdk-windows\platform-tools” to environment variable “Path”.

4.1. Right click My Computer -> Properties-> Advanced-> Environment Variable

clickEnVa

doubleCliPathVar

pasteThenOk

5. Install ADB Driver Installer to let PC recognize your device:

http://adbdriver.com/upload/AdbDriverInstaller.exe

In some cases, your pc has installed this driver already. You don’t need to install it again 🙂

6. Now, you can use command line to execute the command “adb“.

6.1 Follow this post to enable USB debugging in your device.

6.2 Open command line view, then try to execute some command, such as “adb devices“, or “adb usb” (you can type “adb help” to show more detail about this command)

adb_console

Happy Debugging 🙂

Advertisements

2 thoughts on “Windows OS – Installing Android Debug Bridge

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s