FTC adb Android Debugging Bridge 202008
From wikidb
Contents
References
- Wireless Programming for FTC Robots
- install Android Debug Bridge (adb)
- Android customization – how to transfer files using ADB push and pull commands
- FTC workshop debugging
- log on page 72
- also ADB Android Debug Bridge http://developer.android.com/tools/help/adb.html
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 in the local command window's directory.