Like mount userdata.img or userdata-qemu.img in osx

The disk utility in OSX easily mounts the image of the SD card as a device, but not so for other img files.

I want to get the database that I just created in the Android emulator, from disk and into my osx file system.

I upgraded my system using qemu using macports, but no combination that I am trying to make has failed. Has anyone figured out how to do this?

Obviously, one way to do this is to run the application on my phone than install the phone as a USB drive. But I do not want. I want to get it from a disk that uses an emulator :-)

Thanks in advance guys.

Michael

+3
source share
2 answers

Can't you use adb to get the database out of the emulator? I actually just answered a similar question ... here it is:

The database for a specific application lives in /data/data/[packagename]/databases

A batch name is a package that you define in your manifest, for example /data/data/org.vimtips.supacount/databases/counts.db.

You can view it with adb shelland typesqlite3 /data/data/org.vimtips.supacount/databases/counts.db

Or you can pull it out of the device to look at it using a third-party utility, with a command like adb pull /data/data/org.vimtips.supacount/databases/counts.db ..

+3
source

Use the file explorer in DDMS (from the Eclipse SDK), you can see the entire file system there and upload / download files to the right place. Thus, you do not need to install and process images, and adb commands do not execute

0

Source: https://habr.com/ru/post/1738828/


All Articles