Android Device Monitor not showing content of data/user where my database is stored

情到浓时终转凉″ 提交于 2019-12-11 05:25:37

问题


I am trying to find in Android Device Monitor location of my database on my device (Nexus 6P).

I can print the database file name and path using following

File dir = getDatabasePath("people.db");
textView1.setText(dir.getAbsolutePath());

And it shows that it is located at this location

/data/user/0/package-name/databases/people.db

However, if I open Android Device Monitor and click on my device, I can navigate into data directory but nothing shows in it.

How do I navigate to the location of my application package or my database in Android Device Monitor or some other tool?

来源:https://stackoverflow.com/questions/43440253/android-device-monitor-not-showing-content-of-data-user-where-my-database-is-sto

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