I use genymotion for my dev, and when I create the database, I do not see it in the DDMS folder of the genymotion emulator.
When searching on google, I can see the database on the adb shell, but I don’t know how to pull the database to my local drive to view the data.
Can someone please tell me about the process.
Thank you in advance
You can (also) pull 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's how to set up a shared folder:
Go to the VirtualBox VM tab / tab with shared folder, , " ", , Genymotion./mnt/shared ( )
Genymotion 2.3:
adb shell su -c cp /data/data/<package.name>/databases/<database.name> /sdcard/
:
adb shell su 0 cp /data/data/<package.name>/databases/<database.name> /sdcard/
adb pull /sdcard/<database.name>
(, su 2.3 4.3)
adb
adb pull /data/data/com.android.packagename/databases.datebase.db
db ,
db, sqliteman