Difference between revisions of "FTC adb Android Debugging Bridge 202008"
From wikidb
(→References) |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= References = | = References = | ||
− | * [ | + | * [http://developer.android.com/tools/help/adb.html Official Android adb reference] |
* [https://www.xda-developers.com/install-adb-windows-macos-linux/ install Android Debug Bridge (adb)] | * [https://www.xda-developers.com/install-adb-windows-macos-linux/ install Android Debug Bridge (adb)] | ||
* [https://www.androidauthority.com/android-customization-transfer-files-adb-push-adb-pull-601015/ Android customization – how to transfer files using ADB push and pull commands] | * [https://www.androidauthority.com/android-customization-transfer-files-adb-push-adb-pull-601015/ Android customization – how to transfer files using ADB push and pull commands] | ||
− | + | == Related == | |
− | + | ||
− | + | ||
− | = Install = | + | * [https://blog.jcole.us/2017/04/13/wireless-programming-for-ftc-robots/ Wireless Programming for FTC Robots] |
+ | |||
+ | = Windows = | ||
+ | |||
+ | == Install == | ||
I found adb in | I found adb in | ||
* Users\epp\AppData\Local\Adroid\sdk\platform-tools | * Users\epp\AppData\Local\Adroid\sdk\platform-tools | ||
Probably from an Android Studio install | 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 = | ||
+ | |||
+ | * [[FTC adb pull 202008 Note and Log]] |
Latest revision as of 11:09, 21 August 2020
Contents
References
- Official Android adb reference
- install Android Debug Bridge (adb)
- Android customization – how to transfer files using ADB push and pull commands
Related
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