Eclipse 中的文件资源管理器始终为空
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9443860/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
File Explorer always empty in Eclipse
提问by Tombola
The File Explorer view in Eclipse used to work, so that while an app was running, I could see and manage files in its memory. But since a couple of days the File Explorer is always completely empty. Both for the emulator and for physical devices.
Eclipse 中的文件资源管理器视图曾经可以工作,因此当应用程序运行时,我可以查看和管理其内存中的文件。但是几天以来,文件资源管理器总是完全空的。适用于模拟器和物理设备。
Any suggestions about how to make this feature work again are very welcome!
非常欢迎有关如何使此功能再次起作用的任何建议!
回答by Vikram
just to make it an answer :)
只是为了让它成为一个答案:)
Select the device in the Devices, it will show the files in the file explorer for that device.
在设备中选择设备,它将在文件资源管理器中显示该设备的文件。
回答by Arsalan Shah
The easier solution of it is to goto the taskmanager. Kill the adb process. Eclipse will start giving connection error with the AVD. Now, run your android virtual device again from the eclipse. Thats it. Its Done. You'll see the files in the file explorer in a sec.:)
更简单的解决方案是转到任务管理器。杀死 adb 进程。Eclipse 将开始给出与 AVD 的连接错误。现在,再次从 Eclipse 运行您的 android 虚拟设备。就是这样。完成。您将在一秒钟内看到文件资源管理器中的文件。:)
回答by Wide Lee
It is the matter of the file 'toolbox' in /system/bin/, and lack a file 'ls' is that directiory. You can try in below steps:
这是 /system/bin/ 中的文件“工具箱”的问题,缺少文件“ls”就是该目录。您可以尝试以下步骤:
1.Use an emulator and pull the file toolbox down and put it in your SD card of the phone.
1.使用模拟器将文件工具箱下拉,放入手机的SD卡中。
2.Use "adb shell" and replace toolbox in your phone.
2.使用“adb shell”并替换手机中的工具箱。
3.Set the permission to 'rwxr-xr-x' if necessary.
3.如有必要,将权限设置为“rwxr-xr-x”。
4.Then copy a file which is linked to toolbox and rename it to 'ls'(This step I use Root Explorer).
4.然后复制一个链接到工具箱的文件并将其重命名为'ls'(这一步我使用Root Explorer)。
5.Restart adb you can discover that the ddms file explorer is not empty again~
5.重启adb可以发现ddms文件资源管理器又不为空了~
Hope I can help you :)
希望我能帮到你:)
refer to: http://www.miui.com/thread-268003-1-1.html
参考:http://www.miui.com/thread-268003-1-1.html