Where is Android Emulator Internal Storage

我与影子孤独终老i 提交于 2019-12-05 01:52:32

If you want to view the folder/file structure of the running emulator, you can do that with the Android Device Monitor which is included with the SDK.

Specifically, it has a File Explorer, which allows you to browse the folder structure on the device. It also has buttons which give you the adb push/pull functionality but from a GUI if this is easier for you to use.

They are stored in an img file inside the avd directory. If you are using Linux you can mount the img file via:

sudo mount -o loop ~/.android/avd/<youremulator>/sdcard.img <mountpoint>

Not sure if there is a way in Windows or Mac to view the contents of the img since they are either in ext3, ext4, or yaffs file system format (depending on what you are emulating) and windows doesn't easily support those file systems.

Your best bet is to use adb to copy the file directly out of the emulator while it is running as shown in adb --help:

adb pull <remote> [<local>]  - copy file/dir from device

In Android N emulator you can easily get access Internal Memory.

Go to Emulator:

Settings -> Memory -> Internal Storage -> Others

Then a pop up will open. Click on explore. Then you will get access of Internal Storage.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!