使用 Android Device Monitor 的 File Explorer 获取文件(pull a file from the device)时,抛出以下错误:

[2018-03-06 15:33:08 - ddms] transfer error: open failed: Permission denied[2018-03-06 15:33:08] Failed to pull selection: open failed: Permission denied[2018-03-06 15:33:27 - ddms] transfer error: open failed: Permission denied[2018-03-06 15:33:27] Failed to pull selection: open failed: Permission denied

很明显,是因为权限不足引起的。

解决方法

在 cmd 中,使用 adb root 获得文件下载权限。

注意:在获取文件前,要再点击一下 Devices 标签页中的手机模拟器:

否则,系统会弹出以下令人讨厌的错误哦:

[2018-03-06 15:35:58] Failed to pull selection[2018-03-06 15:35:58] null

更多相关文章

  1. Android介绍如何生成keystore 文件并使用
  2. Arcgis for Android(安卓)开发环境配置(Android(安卓)Studio篇)
  3. 从android模拟器中提取文件系统
  4. Android(安卓)app 权限
  5. Android(安卓)getResources的作用和须要注意点
  6. Android中运行Tensorflow程序2-编写自己的程序
  7. android 权限注解库
  8. Android(安卓)studio黑科技
  9. Android(安卓)ANR 探索

随机推荐

  1. android layout 按比例布局
  2. Android实现流量统计和网速监控悬浮窗
  3. No resource found that matches the giv
  4. Android—Animation
  5. android Recorder流程
  6. android setTag (int key, Object tag)抛
  7. Android图片轮播
  8. Android遍历获取指定目录的文件
  9. ListView与其中的Button,EditText等Widge
  10. 在ubuntu10.10上安装android sdk