全部博文(43)
分类:
2010-08-31 18:03:55
命令行工具ADB(Andvoid Debug Bridge)是提供的一个通用的调试工具,借助这个工具,我们可以管理设备或手机模拟器的状态。
adb help
-d - directs command to the only connected USB device
returns 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
the given serial number
-p
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