Android:文件资源管理器中没有文件 [英] Android: No files appearing in File Explorer

查看:312
本文介绍了Android:文件资源管理器中没有文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现我无法在Eclipse中查看我的Android数据库文件,而不会生根我的手机,所以我最终使用这里的指示生根我的三星Galaxy SII:



,允许您查看sqlite数据库及其内容(不修改)。尝试启动模拟器,然后导航到文件资源管理器选项卡,查找应用程序的软件包名称,数据文件夹,然后单击插件图标打开数据库文件(它将自动包含DDMS选项旁边的图标)


I found out that I couldn't view my Android database files in Eclipse without rooting my phone, so I ended up rooting my Samsung Galaxy SII using the directions here:

http://galaxys2root.com/galaxy-s2-root/how-to-root-ics-on-att-galaxy-s2-sgh-i777/

Now when I use the adb shell, I'm able to view all the databases in my /data/data/... folder. But in Eclipse, when I open DDMS and view the File Explorer, I don't see any files. I made sure I selected my device in the "Device" window.

Is there a way to fix this?

Edit: If someone could point me in the right direction for rooting a Samsung Galaxy S II that will still work with Eclipse, please let me know...I spent hours just getting my phone rooted since things like "simple" one click did not work for me.

解决方案

Easy way to see the database files while running an Emulator

There's a neat little plugin for Eclipse called CellObject SQLite Browser that allows you to view the sqlite database and it's contents(not modify). Try launching an emulator and then navigating to the File Explorer tab, find your app's package name, data folder, and open the db file by clicking the plugin icon(it will automatically include an icon right next to the DDMS option)

这篇关于Android:文件资源管理器中没有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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