我用db Questoid SQLite浏览器看不到 [英] I can not see with db Questoid SQLite Browser

查看:124
本文介绍了我用db Questoid SQLite浏览器看不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用eclipse进行android编程,现在我需要在仿真器中查看SQLite数据库。
我按照这些步骤:



下载.jar文件



将插件.jar文件放在您的Eclipse插件文件夹(例如/ usr / lib / eclipse / plugins)



重新启动Eclipse



启动在Eclipse中调试的Android模拟器



切换到Eclipse中的DDMS透视图



转到文件资源管理器'选项卡以查找设备的数据库文件



导航到:eg 'data - > data - > com.myproject - > databases - > myproject



现在,当我尝试在Questoid打开数据库文件时,我无法选择它!
(见屏幕截图)
相同的建议?

解决方案

从你的屏幕截图中,数据库没有。 (读取:句点)在文件名&扩展区域。



不正确:mydatabaseDB



正确:mydatabase.db



一旦数据库显示正确的扩展名(并且是一个正确的SQLite数据库),那么Questoid将(我在Eclipse中使用插件(Juno版本)),然后显示活动按钮(未禁用像你的屏幕截图)。当查找最新的数据库条目(刚刚添加到数据库中)时,然后再次点击屏幕右上角的工具栏图标。然后我转到该视图的浏览数据选项卡,然后从数据库中选择要查看字段的表。



我希望这有助于。 >

快乐编码...


i am using eclipse for android programing and now i need to view SQLite database in the emulator. I followed these step:

Download .jar file

Place the plugin .jar file in your Eclipse plugins folder (e.g. /usr/lib/eclipse/plugins)

Restart Eclipse

Start up an Android Emulator w/ Debugging in Eclipse

Switch to the DDMS Perspective in Eclipse

Go to the 'File Explorer' tab to locate your device's database file

Navigate to: e.g. 'data -> data -> com.myproject -> databases -> myproject

Now when i try to Open the database file in Questoid i can't select it! (see screen shot) same advice?

解决方案

From your screen shot there, the database does not have a "." (read: period) in the file name & extension area.

Improper: mydatabaseDB

Proper: mydatabase.db

Once the database shows the proper extension (and is a proper SQLite database), then Questoid will (I use the plugin all the time in Eclipse (Juno version)) then show the "active" button (not disabled like in your screen shot). When looking for latest database entries (what was just added into the database), I then click once again on the toolbar icon as you show there, in the upper right of the screen. I then go to the Browse Data tab for that view, then choose the table from the database I want to view the fields from.

I hope this helps.

Happy coding...

这篇关于我用db Questoid SQLite浏览器看不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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