如何在有根设备上使用文件资源管理器? [英] How to use File Explorer on a rooted device?

查看:107
本文介绍了如何在有根设备上使用文件资源管理器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse连接到我的root电话,我可以运行调试会话并查看LogCat消息。我也可以在设备视图中看到 DDMS 透视图中的手机,但是:当我打开文件资源管理器视图(同一视角)我看到没有



我可以发誓我看到它工作一次,但对于我的生活我不记得如果有什么特别的,我必须在调试设备或Eclipse下预先配置。



Android开发人员使用DDMS上的使用模拟器或设备的文件系统页面说:


DDMS提供了一个文件资源管理器选项卡,允许您在设备上查看,复制和
删除文件。此功能可用于检查由应用程序创建的文件
,或者是否要将文件
传输到设备。



使用仿真器或设备的文件系统:


  1. 在设备选项卡中,选择要查看
    的模拟器系统为。

  2. 要从设备复制文件,请在文件
    资源管理器中找到文件,然后单击拉取文件按钮。

  3. 要将文件复制到设备,请单击
    文件资源管理器选项卡上的推送文件按钮。


但是...这3个简单的步骤对我来说不起作用。我做错了什么?



我需要做什么来在Eclipse的文件资源管理器上查看我的rooted设备上的文件?


  1. PS adb pull 的作品,但我也希望能够使用File
    Explorer。

  2. P.S。打开USB存储(从通知区域)不
    帮助文件资源管理器。


解决方案

DDMS中的文件浏览器可以与实际设备正常工作。只需使用独立之一,而不是Eclipse插件。



从命令行输入 ddms.bat ,然后选择(实际)设备,然后从菜单中选择设备>文件资源管理器:




Eclipse is connected to my rooted phone and I can run debug sessions and see LogCat messages. I can also see the phone in Devices view in the DDMS perspective, but: When I open the File Explorer view (in same perspective) I see nothing.

I could swear that I saw it working once but for the life of me I can't recall if there was anything special that I had to pre-configure on the device-under-debug or Eclipse.

The Working with an emulator or device's file system on the Android Developer's Using DDMS page says:

DDMS provides a File Explorer tab that allows you to view, copy, and delete files on the device. This feature is useful in examining files that are created by your application or if you want to transfer files to and from the device.

To work with an emulator or device's file system:

  1. In the Devices tab, select the emulator that you want to view the file system for.
  2. To copy a file from the device, locate the file in the File Explorer and click the Pull file button.
  3. To copy a file to the device, click the Push file button on the File Explorer tab.

But... these 3 easy steps don't work for me. What am I doing wrong?

What do I need to do to view files on my rooted device on Eclipse's File Explorer?

  1. P.S. adb pull works, but I would like to be able to use File Explorer, too.
  2. P.S. Turning on USB storage (from the notification area) doesn't help File Explorer either.

解决方案

File explorer in DDMS works fine with real devices. Just use the stand alone one, not the Eclipse plugin.

From the command line, type ddms.bat, then select the (real) device, and only then select Device > File Explorer from the menu:

这篇关于如何在有根设备上使用文件资源管理器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆