I know this is an old question, however this is what I did to pull the SQLite Database file from app on device.
- Saving the file from app package to device sdcard
adb -d shell "run-as com.dautechnology.abdimuna.smartparking cat /data/data//databases/ > /sdcard/"
The above command will store file to /sdcard
You can verify the file by
adb shell
ls sdcard/
Then exit from adb shell by typing exit
- Pull the file from sdcard to your current working location.
adb pull sdcard/
- Move the file to Desktop or place of your desire.
mv ~/Desktop
I hope this helps someone out there.