Does the Android Studio Emulator mount filesystems (like system.img
and userdata-qemu.img
) or emulate the mounting by making an illusion because I can't find them (the mounted filesystems) on the host at all.
1 Answer
No, the emulator does not mount the filesystems of the emulated device on the host.
If it did that, it would be impractical to emulate more than one device at a time.
The emulator is intended for application development and testing. If the filesystems of an emulated device were easy to modify, that would make it hard to be sure applications that worked on the emulator would work on a normal device.
android-sdk/system-images/android-<Android-API-level>
and below.*.img
s of the AVD are located in the directory~/.android/avd/<AVD_NAME>
on the host system. In the configuration file~/.android/avd/<AVD_NAME>/hardware-qemu.ini
you can find which images are mounted. May be this link can help: developer.android.com/studio/run/emulator-commandline