WEB开发网
开发学院手机开发Android 开发 adb (Android Debug Bridge) Android 调试桥 阅读

adb (Android Debug Bridge) Android 调试桥

 2010-03-25 16:45:00 来源:WEB开发网   
核心提示:adb pull 拷入:引用adb push 比如:引用adb push foo.txt /sdcard/foo.txtadb 命令列表:引用Options -d Direct an adb command to the only attached USB device. Returns an error if mor

adb pull

拷入:

引用

adb push

比如:

引用

adb push foo.txt /sdcard/foo.txt

adb 命令列表:

引用

Options -d Direct an adb command to the only attached USB device. Returns an error if more than one USB device is attached.

-e Direct an adb command to the only running emulator instance. Returns an error if more than one emulator instance is running.

-s Direct an adb command a specific emulator/device instance, referred to by its adb-assigned serial number (such as "emulator-5556"). If not specified, adb generates an error.

General devices Prints a list of all attached emulator/device instances. See Querying for Emulator/Device Instances for more information.

help Prints a list of supported adb commands.

version Prints the adb version number.

Debug logcat [] [] Prints log data to the screen.

bugreport Prints dumpsys, dumpstate, and logcat data to the screen, for the purposes of bug reporting.

jdwp Prints a list of available JDWP processes on a given device. You can use the forward jdwp: port-forwarding specification to connect to a specific JDWP process. For example:

adb forward tcp:8000 jdwp:472

jdb -attach localhost:8000

Data install Pushes an Android application (specified as a full path to an .apk file) to the data file of an emulator/device.

pull Copies a specified file from an emulator/device instance to your development computer.

push Copies a specified file from your development computer to an emulator/device instance.

Ports and Networking forward Forwards socket connections

上一页  1 2 3 4 5 6 7  下一页

Tags:adb Android Debug

编辑录入:coldstar [复制链接] [打 印]
赞助商链接