I'm trying to download my sqlite database so that I can review it's contents (our app does online offline sync, and I'm trying to ensure it's only pulling down what it's supposed to from the API).
I'm trying to use adb pull /data/data/com.mycompany.myapp/files/db.sqlite3
but I keep getting permission denied.
I've tried logging in via shell and copying it to the SD card, but I get permission denied there as well (and I don't want to add SDCard access in my Manifest).
$ adb shell
$ run-as com.mycompany.myapp
$ cd files
$ cp db.sqlite3 /mnt/sdcard/db.sqlite3
$ PERMISSION DENIED
Without ROOT permission, how do I download my sqlite file from my android device to a location that will allow me access?