LoongLee's blog

ADB_Use

ADB 使用指南

来源:sources/adb使用.md

概述

ADB(Android Debug Bridge)是 Android 开发中常用的调试工具,用于与 Android 设备进行通信。

常用命令

# 查看连接设备
adb devices

# 进入 shell
adb shell

# 安装应用
adb install app.apk

# 推送文件到设备
adb push local_file /sdcard/

# 从设备拉取文件
adb pull /sdcard/file ./

# 查看日志
adb logcat

Flutter 相关

# 查看 Flutter 设备
flutter devices

# 运行 Flutter 应用
flutter run

最后更新: 2026-04-30