How to copy Sqlite from device to PC


I store Sqlite on the path below:


The problem is that I cannot copy the database out of the device to Windows.

When I ran the command below

run-as com.myapp sh -c "cat /data/data/com.myapp/files/My.sqlite" > /sdcard/My.sqlite

It errors: It requires a debuggable APK, which is turned on for production APK.

Some permissions on the device are restricted. For example, running su is not allowed.

Best Answer


Sign In or Register to comment.