adb (Android Debug Bridge) Android 调试桥
2010-03-25 16:45:00 来源:WEB开发网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
If file is not passed, update.zip is used.
adb push
adb pull
adb sync [
(see 'adb help all')
adb shell - run remote shell interactively
adb shell
adb emu
adb logcat [
adb forward
forward specs are one of:
tcp:
localabstract:
localreserved:
localfilesystem:
dev:
jdwp:
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r]
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
adb uninstall [-k]
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
更多精彩
赞助商链接