环境
Eclipse Indigo + Android 2.2
问题
Android模拟器中使用微信,微信好友向我发送图片,保存后想导出到电脑磁盘中。
解决
使用adb pull命令。
adb pull <remote> [<local>] - copy file/dir from device
adb pull 模拟器路径 [电脑磁盘路径,可选,不填表示导出到当前目录] –从设备中拷贝文件或者目录
比如从/sdcard/tencent/MicroMsg/Camera目录中导出图片到D盘,可以使用如下命令:
adb pull /sdcard/tencent/MicroMsg/Camera D:\
操作日志
C:\Users\Wentasy>adb -help
Android Debug Bridge version 1.0.26
-d - directs command to the only connected USB devic
e
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 r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL