Saturday, July 28, 2012

Download and install Android Debug Bridge for Linux


Android
If you're wondering how to move a file from your computer to your Android-x86 virtual machine, or other commands like extracting, installing, etc. The Android Debug Bridge (adb) is a very useful tool for you to do so by allowing you to communicate your Android-x86 with command lines.

I'd previously covered the installation and usage of ADB for Windows platform. But there is a little different for Linux user in term of operating the Terminal commands. Here's how but first, click HERE to download the adb tool for Linux if you're solely to connect with Android-x86 virtual machine. The another way, you can also get adb tool from Android SDK and follow the simple steps.

Installation:
  1. Extract the adb.tar.gz archive file.
  2. Open Terminal.
  3. Navigate to the directory where adb you extracted. (For example, I extracted in /Downloads directory. So I enter cd Downloads/adb)
  4. Type ls and make sure adb is listed.
  5. Enter chmod a+x adb to make the adb tool executable.
  6. This is optional, type ls again and you will see adb font colour is changed.
  7. Now start your Android-x86 virtual machine.
  8. Back to the Terminal, you can now execute adb commands to connect your Android-x86. (Such as, ./adb devices. If it requires as root, just add sudo in front like this: sudo ./adb devices)
Linux Mint Terminal - adb tool installation

No comments:

Post a Comment