Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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.