You can achieve this in two ways, for example, we created our db file in external storage,
1 - using ADB, adb pull /mnt/shell/emulated/0/(your_db_name) any_path_you_pull
Note: if you create multiple folders, update the command accordingly.
2 - using DDMS, DDMS / File Explorer / mnt / shell / emulated / 0 / (your_db_name), and you can pull using the pull button in the right corner of the DDMS window after selecting the db file.
You can also put your db file using push using the same path. You can use any SQLite viewer tool to view db.
source share