欢迎光临
我们一直在努力

针对 “DOWNLOAD_TRANSFER_ERROR/9“

在 Production Build (User版本/生产版本) 的安卓设备上,出于安全考虑,普通用户(包括 adb shell)没有权限直接访问 /cache 分区,也无法执行 adb root 如何查看日志呢?

adb pull /cache/recovery/last_log . adb: error: failed to stat remote object \’/cache/recovery/last_log\’: Permission denied 

adb root adbd cannot run as root in production builds

这是一个非常典型的情况。在 Production Build (User版本/生产版本) 的安卓设备上,出于安全考虑,普通用户(包括 adb shell)没有权限直接访问 /cache 分区,也无法执行 adb root。

但是,你依然有办法获取这些日志。安卓系统提供了一个专门的工具 bugreport,它拥有更高的权限(通过 dumpstate 服务),可以将系统日志打包导出来。

赞(0)
未经允许不得转载:171主机测评 » 针对 “DOWNLOAD_TRANSFER_ERROR/9“
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址