Jul 11, 2012

How To Install and Use ADB Tool



Android Debug Bridge (adb) is a useful utility that lets you communicate with Android device, emulator instance, and even Android Virtual Machine. Although adb offers many kinds of features for Android-powered devices like transferring files, installing apk applications, and remounting memory card. It is widely used to root Android smartphones.

There are 2 ways to install adb tool:
  1. Install adb tool in Android SDK
  2. Download adb tool only

  1. Install adb tool in Android SDK
    1. Download and install Android SDK
    2. Open SDK Manager and install Android SDK Platform-tools package
    3. After finished installing, navigate the directory where Android SDK is installed
      1. Press Shift key + right click on platform-tools folder and clickOpen command window here. Or,
      2. you can also use Windows Command Prompt (MS-DOS) navigate to platform-tools (On my computer, adb.exe is locate in C:\Program Files (x86)\Android\android-sdk\platform-tools)
      cd c:\Program Files (x86)\Android\android-sdk\platform-tools
  2. Download adb tool only
    1. Download adb tool here
    2. Extract adb-win.zip
    3. Press Shift key + right click on adb-win folder, then click Open command window here



Some ADB basic commands examples:
  1. To check Android devices which are connected with adb
  2. adb devices
  3. Show adb help message
  4. adb help
  5. Receive "keyable.txt" file from Android device to local PC
  6. adb pull /sdcard/keyable.txt keyable.txt
  7. Send "keyable.txt" file from local PC to Android device
  8. adb push keyable.txt /sdcard/keyable.txt
  9. Install "keyable.apk" application to Android device
  10. adb install keyable.apk
  11. To view Android device's system log
  12. adb logcat
  13. Stop the running adb server
  14. adb kill-server

No comments:

Post a Comment

Usahakan Komen pake Bahasa yang Sopan, Jgn yang aneh-aneh ;)