db文件 导出 Failed to pull selection问题

来源:互联网 发布:nginx 不同域名跳转 编辑:程序博客网 时间:2024/06/05 01:52

1、先把手机用kingroot 或 360一键root ,获得root权限

2、用RE管理器,找到相应的文件夹,权限那,进行修改

3、结果全都修改了,还是无法导出  错误提示:

[2015-04-25 18:35:23] Failed to pull selection
[2015-04-25 18:35:23] null


在android中每一个文件夹或者文件的权限,总共有10位表示(这个可以在ddms-file explorer里看到),如下图

位置0:-代表文件 d代表目录,在内存中的值分别是0、1

一般情况下,android下的每一个应用程序,都是一个独立的用户,对应一个独立的组

位置1-3 当前用户 r可读 w可写 x可执行

位置4-6 当前用户所在的组 r可读 w可写 x可执行

位置7-0 其他的用户的权限 r可读 w可写 x可执行

r==4,w==2,x==1

文件权限解释完毕

方案1:

当我在命令行里都赋予最大权限后,点击pull a file from the device时还是报同样的错误,继续网络找问题

最后发现,在cmd里使用命令pull复制文件就没问题了,终于解决


方案2:

Android报错:Failed to pull selection 

方法:看看是不是路径里有非英文字符,再看看SD卡的状态是不是可读可写的

我将路径里的中文字符改为英文,就可以在DDMS中导出了


方案3:

Android 2.2 emulator. When I'm trying to pull a file from DDMS-file explorer, it says that "[2012-02-08 02:52:52] Failed to pull selection [2012-02-08 02:52:52] (null)" why and what to do with it?

answer1:You might have forgotten to re-select the device in the left pane. For some reason, it needs to be refreshed and the previous selection is invalid.    

answer2:Restart Eclipse (Close and open it again). That would be sufficient.


(我是通过answer1 方案解决的,即在左侧先点击选中一下设备,然后再在右侧找目标文件,导出成功!Thanks! so simple but powerfull 



方案4:(模拟器)

用Eclipse做android开发,在导出手机内文件时,出现了“failed to pull a selection”问题,网上搜索了几篇文章,有的说,是因为导出超时,我将windows-->preferences-->android-->DDMS中的ADB connection time out 设置到了最大,再次导出,还是出现这个问题,后来,我将eclipse跟模拟器重新启动后,就能够导出了。很无奈的一个问题以及一个很无奈的解决办法,只是为了记录,为了给自己提示以及为了让别人更快的找到解决办法,不用纠结这样无奈的错误。

如果是模拟器,首先看看是不是路径里有非英文字符;

如果没有一般通过重启eclipse 跟 模拟器就可以解决。



0 0
原创粉丝点击