Android Debug Bridge (ADB) v1.0.31
Android Debug Bridge (ADB) v1.0.31
Android SDK Platform Tools for Windows, Linux, Mac (all versions)
https://developer.android.google.cn/studio/releases/platform-tools
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\user>adb ?
Android Debug Bridge version 1.0.31-a - directs adb to listen on all interfaces for a connection-d - directs command to the only connected USB devicereturns an error if more than one USB device is present.-e - directs command to the only running emulator.returns an error if more than one emulator is running.-s <specific device> - directs command to the device or emulator with the givenserial number or qualifier. Overrides ANDROID_SERIALenvironment variable.-p <product name or path> - simple product name like 'sooner', ora relative/absolute path to a productout directory like 'out/target/product/sooner'.If -p is not specified, the ANDROID_PRODUCT_OUTenvironment variable is used, which mustbe an absolute path.-H - Name of adb server host (default: localhost)-P - Port of adb server (default: 5037)devices [-l] - list all connected devices('-l' will also list device qualifiers)connect <host>[:<port>] - connect to a device via TCP/IPPort 5555 is used by default if no port number is specified.disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.Port 5555 is used by default if no port number is specified.Using this command with no additional argumentswill disconnect from all connected TCP/IP devices.device commands:adb push <local> <remote> - copy file/dir to deviceadb pull <remote> [<local>] - copy file/dir from deviceadb sync [ <directory> ] - copy host->device only if changed(-l means list but don't copy)(see 'adb help all')adb shell - run remote shell interactivelyadb shell <command> - run remote shell commandadb emu <command> - run emulator console commandadb logcat [ <filter-spec> ] - View device logadb forward --list - list all forward socket connections.the format is a list of lines with the following format:<serial> " " <local> " " <remote> "\n"adb forward <local> <remote> - forward socket connectionsforward specs are one of:tcp:<port>localabstract:<unix domain socket name>localreserved:<unix domain socket name>localfilesystem:<unix domain socket name>dev:<character device name>jdwp:<process pid> (remote only)adb forward --no-rebind <local> <remote>- same as 'adb forward <local> <remote>' but failsif <local> is already forwardedadb forward --remove <local> - remove a specific forward socket connectionadb forward --remove-all - remove all forward socket connectionsadb jdwp - list PIDs of processes hosting a JDWP transportadb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>- push this package file to the device and install it('-l' means forward-lock the app)('-r' means reinstall the app, keeping its data)('-s' means install on SD card instead of internal storage)('--algo', '--key', and '--iv' mean the file is encrypted already)adb uninstall [-k] <package> - remove this app package from the device('-k' means keep the data and cache directories)adb bugreport - return all information from the devicethat should be included in a bug report.adb backup [-f <file>] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-nosystem] [<packages...>]- write an archive of the device's data to <file>.If no -f option is supplied then the data is writtento "backup.ab" in the current directory.(-apk|-noapk enable/disable backup of the .apks themselvesin the archive; the default is noapk.)(-obb|-noobb enable/disable backup of any installed apk expansion(aka .obb) files associated with each application; the defaultis noobb.)(-shared|-noshared enable/disable backup of the device'sshared storage / SD card contents; the default is noshared.)(-all means to back up all installed applications)(-system|-nosystem toggles whether -all automatically includessystem applications; the default is to include system apps)(<packages...> is the list of applications to be backed up. Ifthe -all or -shared flags are passed, then the packagelist is optional. Applications explicitly given on thecommand line will be included even if -nosystem wouldordinarily cause them to be omitted.)adb restore <file> - restore device contents from the <file> backup archiveadb help - show this help messageadb version - show version numscripting:adb wait-for-device - block until device is onlineadb start-server - ensure that there is a server runningadb kill-server - kill the server if it is runningadb get-state - prints: offline | bootloader | deviceadb get-serialno - prints: <serial-number>adb get-devpath - prints: <device-path>adb status-window - continuously print device status for a specified deviceadb remount - remounts the /system partition on the device read-writeadb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery programadb reboot-bootloader - reboots the device into the bootloaderadb root - restarts the adbd daemon with root permissionsadb usb - restarts the adbd daemon listening on USBadb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
networking:adb ppp <tty> [parameters] - Run PPP over USB.Note: you should not automatically start a PPP connection.<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1[parameters] - Eg. defaultroute debug dump local notty usepeerdnsadb sync notes: adb sync [ <directory> ]<localdir> can be interpreted in several ways:- If <directory> is not specified, both /system and /data partitions will be updated.- If it is "system" or "data", only the corresponding partitionis updated.environmental variables:ADB_TRACE - Print debug information. A comma separated list of the following values1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwpANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.C:\Users\user>
References
https://yongqiang.blog.csdn.net/
Android Debug Bridge (ADB) v1.0.31相关推荐
- Android Debug Bridge(ADB)学习总结
Android Debug Bridge Android调试桥(ADB)是一种多用途的命令行工具.通过它我们可以和模拟器或者设备通信.ADB是一个客户端-服务器程序,包括三个组成部分: 客户端(Cli ...
- Android Debug Bridge(adb)
Adb google官方文档翻译,源文档地址如下 https://developer.android.google.cn/studio/command-line/adb Android Debug B ...
- Android开发者指南(1) —— Android Debug Bridge(adb)
Android Debug Bridge Android调试桥接器,简称adb,是用于管理模拟器或真机状态的万能工具,采用了客户端-服务器模型,包括三个部分: * 客户端部分,运行在开发用的电脑上,可 ...
- 最实用的Android Debug Bridge (ADB)使用手册
文章目录 第1节 最常用案例 1.1 启动应用主界面 1.2 获取当前显示Activity 1.3 获取屏幕分辨率 1.4 获取App 冷热启动时间 1.5 清除App缓存 第2节 应用安装 2.1 ...
- Android Debug Bridge (ADB)
一.下载ADB 地址:SDK 平台工具版本说明 | Android 开发者 | Android Developers 二.环境配置 解压:unzip platform-tools_r33.0 ...
- MacOS 安装 Android Debug Bridge (ADB)
安装方式-homebrew $brew cask install android-platform-tools $adb devices
- [ADB]ADB(Android Debug Bridge)简介及基础(不包含命令)
"Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an ...
- Linux / Windows Subsystem for Linux (WSL) 安装 ADB (Android Debug Bridge,Android 调试桥)
Linux / Windows Subsystem for Linux (WSL) 安装 ADB (Android Debug Bridge,Android 调试桥) Android 开发者网站 ht ...
- Android开发工具——ADB(Android Debug Bridge) 一概览
Android Debug Bridge (adb) 是一个android开发人员必会的多功能的调试工具,确实它的名字一样,它在开发者和目标机器之间,架起了一座bridge. adb的用法很简单,只要 ...
最新文章
- 标准采购订单的计算方案确定
- android ndk 编译c++11,Android NDK的C++11标准支持
- 电脑word在哪_怎么将图片转换成Word?学会这3种方法,轻松将图片转文字!
- 如何在 C# 中使用 const,readonly,static
- flashSlider——基于Jquery的图片展示插件
- linux永久禁止进程,SELinux如何永久禁用 SELinux如何永久禁用
- 将两个文件的路径作为参数传递给脚本_将Docker与pipeline一起使用
- 在 WPF 程序中使用矢量图
- VTK学习之激光点云动态库封装(排水管道)
- 苹果六电池_苹果7P更换电池教程,小白也能动手更换
- 从实例学Kettle(一):获取股票行情数据
- python 获取网页元素_Python爬虫--解析网页中的元素
- GroovyHelp
- 云图科技,长沙VR多方面给人们带来了新的体验!
- 【GlobalMapper精品教程】034:创建漫游动画并制作漫游视频的方法
- java实现超大文件断点续传
- 2020-11-11,单身快乐
- ADK+MDT实现域控服务器全自动静默下发系统(五):MDT的部署--Task Sequences的配置
- arcgis打开mdb数据库_科学网—Arcgis .mxd 文件打开出错+Runtime Error+mdb数据打不开 - 陈桂华的博文...
- 创业者需要考虑的外部环境