Setup ADB on host computer

Table of contents

  1. Overview
  2. Host Computer Setup
    1. Ubuntu (14.04/16.04/18.04)
    2. macOS (Mojave)
    3. Windows 10
  3. Next Steps

Overview

The following describes how to setup the Android Debug Bridge (adb) tool on a host computer. This tool is used to facilitate communications between the VOXL and the host computer over TCP port 5037.

Host Computer Setup

Ubuntu (14.04/16.04/18.04)

Install the Android Debug Bridge (adb):

sudo apt-get install android-tools-adb

Start the adb daemon:

$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

Tip: to run adb without root on the host PC, create a file called /etc/udev/rules.d/51-android.rules containing this udev rule on the host computer:

# /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="901d", MODE="0660", GROUP="plugdev", SYMLINK+="voxl%n"

macOS (Mojave)

Install the Android Debug Bridge (adb).

  • Download the tool’s zip file from here
  • Unzip into a known location
  • Using terminal, change to the directory above
  • Start the adb daemon:
$ ./adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully

Windows 10

Install the Android Debug Bridge (adb).

  • Download the tool’s zip file from here
  • Unzip into a known location
  • Open the command prompt (Windows Key+R, enter cmd and hit ENTER)
  • Change directory to the unzipped path
  • Start the adb service:
> adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully

Next Steps

Now for the fun part, let’s setup the hardware!

Copyright (c) 2019 ModalAI Inc.