Issue
I am using genymotion for my dev and when I create a database I can't see it in DDMS folder of genymotion emulator.
When searched on google I am able to see the database on adb shell but don't know how to pull the database to my local disk to view the data.
Can anyone please let me know the process.
Thanks in advance
Solution
You can (also) pull the data from your device to your host by copying it to a shared folder:
adb shell su 0 cp /data/data/<package.name>/databases/<database.name> /mnt/shared/
Here is how to setup the shared folder:
- Go to your VirtualBox VM setting / Shared folder tab
- Add a shared folder with the folder you want to shared, and check the "auto mount" option
- Start your VM as usual from the Genymotion software
- Your shared folder is available in the /mnt/shared directory (multiple shared folders are supported)
Answered By - eyal-lezmy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.