How do I see database tables in Android Studio 3.1

橙三吉。 提交于 2021-01-27 05:20:57

问题


I have recently updated Android Studio to version 3.1. Afterward, I couldn't find how to view my database tables.


回答1:


You can use Device File Explorer:

View -> Tool Windows -> Device File Explorer

And find with its help your db among packages.

E.g. data -> data -> com.your.app -> databases

screenshot from my AS 3.1

Save it locally and open with any external tool like the SQLite Browser.




回答2:


After Android Studio 4.1 version, we can use Database Inspector

Accessing Database Inspector



来源:https://stackoverflow.com/questions/49595717/how-do-i-see-database-tables-in-android-studio-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!