差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
android:adb [2022/08/25 07:19] – [参考文献] ともやん | android:adb [2024/04/17 12:42] (現在) – [ヘルプ [help]] ともやん | ||
---|---|---|---|
行 6: | 行 6: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <b class=GRN> | + | <font color="# |
</ | </ | ||
- | < | + | < |
- | メタデータの期限切れの最終確認: | + | |
依存関係が解決しました。 | 依存関係が解決しました。 | ||
- | ==================================================================================================== | + | ============================================================================================================== |
- | | + | |
- | ==================================================================================================== | + | ============================================================================================================== |
インストール: | インストール: | ||
- | <b class=GRN> | + | <font color="# |
トランザクションの概要 | トランザクションの概要 | ||
- | ==================================================================================================== | + | ============================================================================================================== |
インストール | インストール | ||
- | ダウンロードサイズの合計: | + | ダウンロードサイズの合計: |
- | インストール後のサイズ: | + | インストール後のサイズ: |
これでよろしいですか? | これでよろしいですか? | ||
パッケージのダウンロード: | パッケージのダウンロード: | ||
- | android-tools-31.0.2-3.fc36.x86_64.rpm | + | android-tools-34.0.4-4.fc39.x86_64.rpm |
- | ---------------------------------------------------------------------------------------------------- | + | -------------------------------------------------------------------------------------------------------------- |
- | 合計 | + | 合計 |
トランザクションの確認を実行中 | トランザクションの確認を実行中 | ||
トランザクションの確認に成功しました。 | トランザクションの確認に成功しました。 | ||
行 33: | 行 32: | ||
トランザクションのテストに成功しました。 | トランザクションのテストに成功しました。 | ||
トランザクションを実行中 | トランザクションを実行中 | ||
- | 準備 | + | 準備 |
- | インストール中 | + | インストール中 |
- | scriptletの実行中: | + | scriptletの実行中: |
- | 検証 | + | 検証 |
インストール済み: | インストール済み: | ||
- | android-tools-1: | + | android-tools-1: |
完了しました! | 完了しました! | ||
行 48: | 行 47: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <b class=GRN> | + | <font color="# |
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
Android Debug Bridge version 1.0.41 | Android Debug Bridge version 1.0.41 | ||
- | Version | + | Version |
Installed as / | Installed as / | ||
+ | Running on Linux 6.8.5-201.fc39.x86_64 (x86_64) | ||
</ | </ | ||
</ | </ | ||
行 82: | 行 82: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <b class=GRN> | + | <font color="# |
</ | </ | ||
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
Android Debug Bridge version 1.0.41 | Android Debug Bridge version 1.0.41 | ||
- | Version | + | Version |
Installed as / | Installed as / | ||
+ | Running on Linux 6.8.5-201.fc39.x86_64 (x86_64) | ||
global options: | global options: | ||
- | | + | |
- | | + | |
- | | + | |
- | -s SERIAL | + | -s SERIAL |
- | -t ID use device with given transport id | + | -t ID use device with given transport id |
- | | + | |
- | | + | |
- | -L SOCKET | + | -L SOCKET |
+ | | ||
+ | | ||
general commands: | general commands: | ||
行 113: | 行 116: | ||
| | ||
| | ||
- | tcp:<port> (<local> may be "tcp:0" | + | tcp:<port& |
- | | + | |
- | | + | |
- | | + | |
- | dev:<character device name> | + | dev:<character device name> |
- | jdwp:<process pid> (remote only) | + | jdwp:<process pid& |
- | | + | |
- | | + | |
| | ||
| | ||
- | ppp TTY [PARAMETER...] | ||
| | ||
| | ||
| | ||
- | tcp:<port> (<remote> may be "tcp:0" | + | tcp:<port& |
- | | + | |
- | | + | |
- | | + | |
| | ||
| | ||
行 141: | 行 143: | ||
| | ||
-n: dry run: push files to device without storing to the filesystem | -n: dry run: push files to device without storing to the filesystem | ||
- | -z: enable compression with a specified algorithm (any, none, brotli) | + | -z: enable compression with a specified algorithm (any/none/brotli/lz4/zstd) |
-Z: disable compression | -Z: disable compression | ||
pull [-a] [-z ALGORITHM] [-Z] REMOTE... LOCAL | pull [-a] [-z ALGORITHM] [-Z] REMOTE... LOCAL | ||
copy files/dirs from device | copy files/dirs from device | ||
-a: preserve file timestamp and mode | -a: preserve file timestamp and mode | ||
- | -z: enable compression with a specified algorithm (any, none, brotli) | + | -z: enable compression with a specified algorithm (any/none/brotli/lz4/zstd) |
-Z: disable compression | -Z: disable compression | ||
sync [-l] [-z ALGORITHM] [-Z] [all|data|odm|oem|product|system|system_ext|vendor] | sync [-l] [-z ALGORITHM] [-Z] [all|data|odm|oem|product|system|system_ext|vendor] | ||
sync a local build from $ANDROID_PRODUCT_OUT to the device (default all) | sync a local build from $ANDROID_PRODUCT_OUT to the device (default all) | ||
-n: dry run: push files to device without storing to the filesystem | -n: dry run: push files to device without storing to the filesystem | ||
- | -l: list files that would be copied, but don't copy them | + | -l: list files that would be copied, but don't copy them |
- | -z: enable compression with a specified algorithm (any, none, brotli) | + | -z: enable compression with a specified algorithm (any/none/brotli/lz4/zstd) |
-Z: disable compression | -Z: disable compression | ||
行 158: | 行 160: | ||
shell [-e ESCAPE] [-n] [-Tt] [-x] [COMMAND...] | shell [-e ESCAPE] [-n] [-Tt] [-x] [COMMAND...] | ||
run remote shell command (interactive shell if no command given) | run remote shell command (interactive shell if no command given) | ||
- | -e: choose escape character, or "none"; default | + | -e: choose escape character, or "none"; default |
- | -n: don't read from stdin | + | -n: don't read from stdin |
-T: disable pty allocation | -T: disable pty allocation | ||
-t: allocate a pty if on a tty (-tt: force pty allocation) | -t: allocate a pty if on a tty (-tt: force pty allocation) | ||
行 177: | 行 179: | ||
-p: partial application install (install-multiple only) | -p: partial application install (install-multiple only) | ||
-g: grant all runtime permissions | -g: grant all runtime permissions | ||
- | --abi ABI: override platform's default ABI | + | --abi ABI: override platform's default ABI |
| | ||
| | ||
行 190: | 行 192: | ||
| | ||
| | ||
- | '-k': keep the data and cache directories | + | '-k': keep the data and cache directories |
debugging: | debugging: | ||
行 196: | 行 198: | ||
write bugreport to given PATH [default=bugreport.zip]; | write bugreport to given PATH [default=bugreport.zip]; | ||
if PATH is a directory, the bug report is saved in that directory. | if PATH is a directory, the bug report is saved in that directory. | ||
- | | + | |
| | ||
| | ||
行 212: | 行 214: | ||
| | ||
| | ||
- | | + | |
- | | + | |
| | ||
remount partitions read-write. if a reboot is required, -R will | remount partitions read-write. if a reboot is required, -R will | ||
行 235: | 行 237: | ||
| | ||
+ | usb: | ||
+ | | ||
+ | | ||
environment variables: | environment variables: | ||
| | ||
行 244: | 行 249: | ||
| | ||
| | ||
+ | |||
+ | Online documentation: | ||
+ | |||
</ | </ | ||
</ | </ |