Android Debug Bridge
Important
Android Debug Bridge (adb) is required ONLY for those users pairing an
Android mobile device with Cozmo.
Android Debug Bridge (adb) is necessary in order for the Cozmo SDK to work with Android mobile devices. Please ensure adb is installed before attempting to run the Cozmo SDK with a paired Android device.
macOS Installation
-
Type the following into a Terminal window (requires Homebrew to be installed):
brew tap caskroom/cask brew cask install android-platform-tools
-
Continue to
final-install
below to complete installation.
Windows Installation
- In your internet browser, navigate to this
link
and download file
platform-tools-latest-windows.zip
to your Downloads folder. - Open a File Explorer window to your Downloads folder and see that
your downloaded file
platform-tools-latest-windows.zip
is there. - Open a new File Explorer window and create a new folder in
C:\Users\your_name
namedAndroid
. Then, navigate into your new Android folder. You should now be inside folderC:\Users\your_name\Android
. - Move the zip file you downloaded in step 1,
platform-tools-latest-windows.zip
, to your new Android folder atC:\Users\your_name\Android
. - Right-click the
platform-tools-latest-windows.zip
file inC:\Users\your_name\Android
and select Extract All. - With File Explorer, navigate to
C:\Users\your_name\Android\platform-tools-latest-windows\platform-tools
and confirm that the adb is there. You will now add this path to your PATH environment variable in the next step. - Add adb to your PATH environment variable.
- Right-click the Start menu and select System.
- Select Advanced System Settings -> Advanced -> Environment Variables.
- Under User Variables, select PATH and click Edit.
- Under Edit Environment Variables, click New and add the path to the folder containing adb (e.g.
C:\Users\your_name\Android\platform-tools-latest-windows\platform-tools
). Click OK on all dialog boxes to confirm your change.
- Confirm that the PATH is correctly pointing to adb.
- Open new a Command Prompt window. (To find the Command Prompt, you may use the search box in the lower left-hand corner of your screen.)
- Type
adb
and adb instructions should print out.
- Continue to
final-install
below to complete installation.
Linux Installation
- In your internet browser, navigate to this
link
and download file
platform-tools-latest-linux.zip
. You may need to accept the license before downloading. - Navigate to the zip file download location (e.g., \~/Downloads) and extract the files. The