You can get the path of DB file on the console logs when it gets generated in Android studio. You can do adb shell and copy the DB file to your local machine by going to the path mentioned in console logs.
I am getting error while i use this method
error: method exists in class Database cannot be applied to given types;
if (!Database.exists(“travel-sample”, context.getFilesDir())) {
required: no arguments
found: String,File
reason: actual and formal argument lists differ in length