从Android模拟器sdcard中导出文件

环境

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
                    
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值