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

adb (Android Debug Bridge) Android 调试桥

 2010-03-25 16:45:00 来源:WEB开发网   
核心提示:a relative/absolute path to a productout directory like 'out/target/product/sooner'.If -p is not specified, the ANDROID_PRODUCT_OUTenvironment variable

a relative/absolute path to a product

out directory like 'out/target/product/sooner'.

If -p is not specified, the ANDROID_PRODUCT_OUT

environment variable is used, which must

be an absolute path.

devices - list all connected devices

device commands:

adb update DATAOPTS - Flash the specified update file.

If file is not passed, update.zip is used.

adb push - copy file/dir to device

adb pull - copy file/dir from device

adb sync [ ] - copy host->device only if changed

(see 'adb help all')

adb shell - run remote shell interactively

adb shell - run remote shell command

adb emu - run emulator console command

adb logcat [ ] - View device log

adb forward - forward socket connections

forward specs are one of:

tcp:

localabstract:

localreserved:

localfilesystem:

dev:

jdwp: (remote only)

adb jdwp - list PIDs of processes hosting a JDWP transport

adb install [-l] [-r] - push this package file to the device and instal

l it

('-l' means forward-lock the app)

('-r' means reinstall the app, keeping its data

)

adb uninstall [-k] - remove this app package from the device

('-k' means keep the data and cache directories

)

adb bugreport - return all information from the device

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

Tags:adb Android Debug

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