I am trying to develop an application for Zebra TC56 Android devices. My app uses a couchbase on device database. Now for development purposes I need to be able to pull the database file off the device to my computer so that I can inspect the data in it.
My problem is using adb pull I get Permission denied errors.
What I have tried till now
adb shell run-as <application_package> pull /data/data/<application_package>/files/myDb.cblite2
This ends up giving nothing or permission denied error.
Is there a specific way to access application files for development purposes on Zebra devices without rooting into the device ?