FTC adb Android Debugging Bridge 202008

From wikidb
Revision as of 10:42, 21 August 2020 by Edc (Talk | contribs)

Jump to: navigation, search

References

Windows

Install

I found adb in

  • Users\epp\AppData\Local\Adroid\sdk\platform-tools

Probably from an Android Studio install

Connecting

Open a command Window get into Android's platform-tools directory

TBD set up path to find adb

 >cd  C:\Users\epp\AppData\Local\Android\sdk\platform-tools

 >adb connect 192.168.43.1
     connected to 192.168.43.1:5555

 >adb devices
     List of devices attached
     192.168.43.1:5555       device

FTC Android File System

Selected files

 C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb shell ls
     ...
     config
     ...
     data
     ...
     dev
     ...
     etc
     ...
     init.ftc.rc
     ..
     mnt
     ...
     proc
     ...
     root
     sbin
     sdcard
     ...
     selinux_version
     ...
     storage
     sys
     system
     ...

Getting Log files

Log files are in the sdcard direcotry

 >adb pull sdcard/robotControllerLog.txt
     sdcard/robotControllerLog.txt: 1 file pulled. 3.3 MB/s (1257240 bytes in 0.364s)

It will be downloaded to the Window's Command window local command local directory. In this case;

 C:\Users\epp\AppData\Local\Android\sdk\platform-tools\robotControllerLog.txt

Notes and Logs