0

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.

7
  • Those images are part of the Android SDK packages. Check the android SDK directory android-sdk/system-images/android-<Android-API-level> and below.
    – Robert
    Commented Sep 30, 2021 at 16:35
  • @Robert Yeah, I know that but this doesn't answer the question. Where are they mounted on the host if they are should be mounted on running the emulator? or are they used by the emulator without mounting?
    – asmmo
    Commented Sep 30, 2021 at 18:25
  • 1
    You wrote that you can't find them (the files) on the host, therefore I wrote that comment. May be your question was not well formulated?
    – Robert
    Commented Sep 30, 2021 at 18:40
  • Ok. I'm sorry. Never mind. plz, if the question should be more clear, feel free to edit it.
    – asmmo
    Commented Sep 30, 2021 at 18:43
  • The *.imgs 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
    – St0rm
    Commented Sep 30, 2021 at 21:18

1 Answer 1

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .