First of all, if you are viewing the Android database file on a real machine, you have to get root permission, so there is no more talking about how to get it. May be the cause of the phone, I get access to the following mobile phone:
Although the permissions in the data directory are open, the package permissions under Data do not get the Write permission, which is based on the following workaround:
The permission to the package is obtained from the command line and you can see that the package permissions are now open:
This allows you to read the files under the package, and similar permissions issues can be resolved in this way. Get to the database file in a similar way and then export the database file through the export button in Ddms, and save it in SQL format, using the visualizer SQLite export to import the database to view the database file.
Get data under Directory files and view Android database files