怎么看与出Android设备箴言报sqlite的分贝? [英] how to see sqlite db with out android device moniter?

查看:115
本文介绍了怎么看与出Android设备箴言报sqlite的分贝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Andr​​oid设备的显示器是不是在Android的工作室工作,是任何其他方式查看现有SQ-精简版数据库,并给我的Andr​​oid设备监控问题的可能原因是什么?

my android device monitor is not working in android studio, is any other way to see existing sq-lite database,and give the possible reason of my android device monitor issue?.

推荐答案

及其对android的新手不错的问题。
对于看到SQLite数据库,你必须遵循下面的步骤。

Its nice question for newbie in android. For seeing SQLite database you have to follow below step.

第1步:安装模拟器并运行它

如果你有看到SQLite数据库,您必须在运行应用程序
  Android模拟器。

If you have to see SQLite database you must Run your application in Android Emulator.

(注: - 如果您在物理设备的应用程序,那么你是无法看到数据库)

(Note:- If you run your application in physical device then you are not able to see database).

第二步:现在运行你的Andr​​oid设备监视器从Android的工作室,现在发现你的Andr​​oid模拟器在那里,点击它,你会显示的此监视器文件浏览器即可。

Step 2: Now Run you Android Device Monitor from Android studio,now find your android emulator there,click on it and you will show File Explorer in this monitor.

第3步:在文件管理器有数据Folder.Go到Data文件夹,还有另外一个数据文件夹中了。立即查找您的here.in您的应用程序文件夹应用程序有一个名为数据库,其中包含SQLite数据库文件的文件夹。

Step 3: In the File Explorer there are Data Folder.Go to Data folder,there is another data folder in it. Now Find your Application here.in your application folder there is folder with name database,Which contain SQLite database file.

(注:文件管理器>数据>数据>您的应用程序包>数据库

第四步:有在顶部的选项,从那里你可以拉从设备的文件(模拟器),点击它,将它保存到您的计算机。

Step 4: There are option in the top,From there you can "Pull a file from Device(emulator)",Click on it and save it to your computer.

因此​​,这里是通过阅读它,你可以看到你的数据库文件。所以,现在我们怎么能读吗?

So here is the file by reading it you can See your database. so,now how can we read it?

第五步:文件进行读取下载的SQLite的浏览器从这里安装和开放在您的计算机上。

Step 5: For reading the file download SQLite Browser from here install it and open it in your computer.

第六步:在这个浏览器中点击打开数据库并打开,你必须从Device(模拟器)拉文件

Step 6: In this Browser Click on Open Database and open the file which you have pull from Device(emulator).

所以在这里你可以看到您的数据库结构浏览数据即可。
甚至,您可以更新数据,并与Android设备进行监控推文件手动更新数据。

So here you can see your database structure and also browse data. Even, You can update data and Push the file with the Android Device monitor for manually update data.

这篇关于怎么看与出Android设备箴言报sqlite的分贝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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