Fixed
Status Update
Comments
sh...@gmail.com <sh...@gmail.com> #2
Thanks for the feedback on the emulator. To help us troubleshoot this issue further, we will need more information. Please share detailed reproduction steps and as much as possible of the following information:
1. Emulator version
2. Run the emulator from command line with “$ANDROID_SDK_ROOT/emulator/emulator -avd <NameOfAVD> -verbose -show-kernel” and send the resulting logs
3. Any relevant Logcat logs
4. The results of running “adb shell top” in the command line.
For more information on what’s needed and how to obtain this information please read the guide athttps://developer.android.com/studio/report-bugs#emulator-bugs .
1. Emulator version
2. Run the emulator from command line with “$ANDROID_SDK_ROOT/emulator/emulator -avd <NameOfAVD> -verbose -show-kernel” and send the resulting logs
3. Any relevant Logcat logs
4. The results of running “adb shell top” in the command line.
For more information on what’s needed and how to obtain this information please read the guide at
le...@google.com <le...@google.com>
ap...@google.com <ap...@google.com> #3
stackoverflow
https://stackoverflow.com/questions/68373280/android-studio-emulator-is-not-working-on-windows-11-using-whpx
reddit
https://www.reddit.com/r/androiddev/comments/ovz4g2/android_studio_emulator_in_windows_11/
steps to reproduce:
upgrade windows 11
have virtual machine feature enabled (or hyper v) { in my case i use for windows sub system linux wsl}
other things are usual run emulator from android studio and get error
emulator info:
Name: Pixel_111
CPU/ABI: Google Play Intel Atom (x86)
Path: C:\Users\7abhi\.android\avd\Pixel_111.avd
Target: google_apis_playstore [Google Play] (API level 30)
Skin: 1080x2280
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name : pixel_4
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 30
tag.id : google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel_111
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2280
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
skin.path.backup: C:\Users\7abhi\AppData\Local\Android\Sdk\skins\pixel_4
hw.audioInput: yes
image.sysdir.1: system-images\android-30\google_apis_playstore\x86\
showDeviceFrame: no
hw.camera.back: virtualscene
AvdId: Pixel_111
hw.lcd.density: 440
hw.arc: false
hw.device.hash2: MD5:6b5943207fe196d842659d2e43022e20
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6442450944
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
PS C:\Users\7abhi\AppData\Local\Android\Sdk\emulator> .\emulator -avd Pixel_111 -verbose -show-kernel
emulator: Android emulator version 30.8.4.0 (build_id 7600983) (CL:N/A)
emulator: Found AVD name 'Pixel_111'
emulator: Found AVD target architecture: x86
emulator: argv[0]: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\emulator.exe'; program directory: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator'
emulator: Found directory: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\
emulator: emuDirName: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator'
emulator: Found directory: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\
emulator: Probing for C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64: file exists
emulator: try dir C:\Users\7abhi\AppData\Local\Android\Sdk\emulator
emulator: Trying emulator path 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe'
emulator: Found target-specific 64-bit emulator binary: C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_angle'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_angle9'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_angle11'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_swiftshader'
emulator: Adding library search path for Qt: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\qt\lib'
emulator: Silencing all qWarning(); use qCWarning(...) instead: QT_LOGGING_RULES=default.warning=false
emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\qt\plugins
emulator: Setting Qt to use software OpenGL: QT_OPENGL=software
emulator: Setting QML to use software QtQuick2D: QMLSCENE_DEVICE=softwarecontext
emulator: Overriding pre-existing bad Qt high dpi settings...
emulator: Quoted param: [C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe]
emulator: Quoted param: [-avd]
emulator: Quoted param: [Pixel_111]
emulator: Quoted param: [-verbose]
emulator: Quoted param: [-show-kernel]
emulator: Running :C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe
emulator: qemu backend: argv[00] = "C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe"
emulator: qemu backend: argv[01] = "-avd"
emulator: qemu backend: argv[02] = "Pixel_111"
emulator: qemu backend: argv[03] = "-verbose"
emulator: qemu backend: argv[04] = "-show-kernel"
emulator: Concatenated backend parameters:
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe -avd Pixel_111 -verbose -show-kernel
emulator: autoconfig: -skin 1080x2280
emulator: autoconfig: -skindir (null)
emulator: autoconfig: -kernel C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
emulator: Auto-detect: Kernel image requires new device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img
emulator: Using initial system image: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img
emulator: Using initial vendor image: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img
emulator: autoconfig: -data C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img
emulator: autoconfig: -initdata C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata.img
emulator: autoconfig: -cache C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img
emulator: autoconfig: -sdcard C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img
emulator: Increasing RAM size to 2048MB
emulator: VM heap size 256MB is below hardware specified minimum of 512MB,setting it to that value
emulator: System image is read only
emulator: Found 4 DNS servers: 192.168.0.1 fec0:0:0:ffff::1 fec0:0:0:ffff::2 fec0:0:0:ffff::3
emulator: VERBOSE: FeatureControlImpl.cpp:172: WARNING: unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
emulator: VERBOSE: FeatureControlImpl.cpp:175: Unexpected feature list:
emulator: VERBOSE: FeatureControlImpl.cpp:177: Vulkan
emulator: VERBOSE: FeatureControlImpl.cpp:179:
emulator: VERBOSE: System.cpp:3003: querying file version info API...
emulator: VERBOSE: System.cpp:3011: found kernelbase.dll
emulator: VERBOSE: System.cpp:3019: GetFileVersionInfoSizeW found. On Windows 10?
emulator: VERBOSE: System.cpp:3028: GetFileVersionInfoW found. On Windows 10?
emulator: VERBOSE: System.cpp:3058: VerQueryValueW found. Can query file versions
emulator: VERBOSE: System.cpp:3081: queryFileVersionInfo: path not found: amdvlk64.dll
emulator: VERBOSE: System.cpp:3003: querying file version info API...
emulator: VERBOSE: System.cpp:3081: queryFileVersionInfo: path not found: amdvlk32.dll
emulator: VERBOSE: System.cpp:3003: querying file version info API...
emulator: found magic skin width=1080 height=2280 bpp=16
emulator: Checking whether Windows Hypervisor Platform (WHPX) is available.
emulator: WinHvPlatform.dll found. Looking for WHvGetCapability...
emulator: WHvGetCapability found. Querying WHPX capabilities...
emulator: WHPX (10.0.22000) is installed and usable.
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.WHPX (10.0.22000) is installed and usable.
handleCpuAcceleration: feature check for hvf
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'qemu.cmdline' = 'androidboot.logcat=*:V androidboot.consolepipe=qemu_pipe,pipe:logcat'
emulator: Adding boot property: 'qemu.logcat' = 'start'
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: VERBOSE: MultiDisplay.cpp:341: create display 0
emulator: VERBOSE: MultiDisplay.cpp:435: setDisplayPose 0 x 0 y 0 w 1080 h 2280 dpi 0
added library vulkan-1.dll
emulator: Found 4 DNS servers: 192.168.0.1 fec0:0:0:ffff::1 fec0:0:0:ffff::2 fec0:0:0:ffff::3
Content of hardware configuration file:
hw.cpu.arch = x86
hw.cpu.model = qemu32
hw.cpu.ncore = 4
hw.ramSize = 2048
hw.screen = multi-touch
hw.mainKeys = false
hw.trackBall = false
hw.keyboard = true
hw.keyboard.lid = false
hw.keyboard.charmap = qwerty2
hw.dPad = false
hw.rotaryInput = false
hw.gsmModem = true
hw.gps = true
hw.battery = true
hw.accelerometer = true
hw.gyroscope = true
hw.audioInput = true
hw.audioOutput = true
hw.sdCard = true
hw.sdCard.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img
disk.cachePartition = true
disk.cachePartition.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img
disk.cachePartition.size = 66m
test.quitAfterBootTimeOut = -1
test.delayAdbTillBootComplete = 0
test.monitorAdb = 0
hw.lcd.width = 1080
hw.lcd.height = 2280
hw.lcd.depth = 16
hw.lcd.density = 440
hw.lcd.backlight = true
hw.lcd.vsync = 60
hw.gltransport = pipe
hw.gltransport.asg.writeBufferSize = 1048576
hw.gltransport.asg.writeStepSize = 4096
hw.gltransport.asg.dataRingSize = 32768
hw.gltransport.drawFlushInterval = 800
hw.displayRegion.0.1.xOffset = -1
hw.displayRegion.0.1.yOffset = -1
hw.displayRegion.0.1.width = 0
hw.displayRegion.0.1.height = 0
hw.displayRegion.0.2.xOffset = -1
hw.displayRegion.0.2.yOffset = -1
hw.displayRegion.0.2.width = 0
hw.displayRegion.0.2.height = 0
hw.displayRegion.0.3.xOffset = -1
hw.displayRegion.0.3.yOffset = -1
hw.displayRegion.0.3.width = 0
hw.displayRegion.0.3.height = 0
hw.display1.width = 0
hw.display1.height = 0
hw.display1.density = 0
hw.display1.xOffset = -1
hw.display1.yOffset = -1
hw.display1.flag = 0
hw.display2.width = 0
hw.display2.height = 0
hw.display2.density = 0
hw.display2.xOffset = -1
hw.display2.yOffset = -1
hw.display2.flag = 0
hw.display3.width = 0
hw.display3.height = 0
hw.display3.density = 0
hw.display3.xOffset = -1
hw.display3.yOffset = -1
hw.display3.flag = 0
hw.gpu.enabled = true
hw.gpu.mode = host
hw.initialOrientation = Portrait
hw.camera.back = virtualscene
hw.camera.front = emulated
vm.heapSize = 512
hw.sensors.light = true
hw.sensors.pressure = true
hw.sensors.humidity = true
hw.sensors.proximity = true
hw.sensors.magnetic_field = true
hw.sensors.magnetic_field_uncalibrated = true
hw.sensors.gyroscope_uncalibrated = true
hw.sensors.orientation = true
hw.sensors.temperature = true
hw.sensor.hinge = true
hw.sensor.hinge.count = 0
hw.sensor.hinge.type = 0
hw.sensor.hinge.sub_type = 0
hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture = 1
hw.sensor.roll = false
hw.sensor.roll.count = 0
hw.sensor.roll.resize_to_displayRegion.0.1_at_posture = 6
hw.sensor.roll.resize_to_displayRegion.0.2_at_posture = 6
hw.sensor.roll.resize_to_displayRegion.0.3_at_posture = 6
hw.sensors.heart_rate = false
hw.useext4 = true
hw.arc = false
hw.arc.autologin = false
kernel.path = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64
kernel.newDeviceNaming = yes
kernel.supportsYaffs2 = no
disk.ramdisk.path = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img
disk.systemPartition.initPath = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img
disk.systemPartition.size = 2331m
disk.vendorPartition.initPath = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img
disk.vendorPartition.size = 800m
disk.dataPartition.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img
disk.dataPartition.size = 6g
disk.encryptionKeyPartition.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\encryptionkey.img
PlayStore.enabled = true
avd.name = Pixel_111
avd.id = Pixel_111
fastboot.forceColdBoot = false
android.sdk.root = C:\Users\7abhi\AppData\Local\Android\Sdk
android.avd.home = C:\Users\7abhi\.android\avd
.
QEMU options list:
emulator: argv[00] = "C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "192.168.0.1,fec0:0:0:ffff::1,fec0:0:0:ffff::2,fec0:0:0:ffff::3"
emulator: argv[03] = "-mem-path"
emulator: argv[04] = "C:\Users\7abhi\.android\avd\Pixel_111.avd\snapshots\default_boot\ram.img"
emulator: argv[05] = "-mem-file-shared"
emulator: argv[06] = "-serial"
emulator: argv[07] = "con:"
emulator: argv[08] = "-device"
emulator: argv[09] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\data\misc\pstore\pstore.bin"
emulator: argv[10] = "-cpu"
emulator: argv[11] = "android64"
emulator: argv[12] = "-enable-whpx"
emulator: argv[13] = "-smp"
emulator: argv[14] = "cores=4"
emulator: argv[15] = "-m"
emulator: argv[16] = "2048"
emulator: argv[17] = "-lcd-density"
emulator: argv[18] = "440"
emulator: argv[19] = "-nodefaults"
emulator: argv[20] = "-kernel"
emulator: argv[21] = "C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64"
emulator: argv[22] = "-initrd"
emulator: argv[23] = "C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img"
emulator: argv[24] = "-drive"
emulator: argv[25] = "if=none,index=0,id=system,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img,read-only"
emulator: argv[26] = "-device"
emulator: argv[27] = "virtio-blk-pci,drive=system,modern-pio-notify"
emulator: argv[28] = "-drive"
emulator: argv[29] = "if=none,index=1,id=cache,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[30] = "-device"
emulator: argv[31] = "virtio-blk-pci,drive=cache,modern-pio-notify"
emulator: argv[32] = "-drive"
emulator: argv[33] = "if=none,index=2,id=userdata,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[34] = "-device"
emulator: argv[35] = "virtio-blk-pci,drive=userdata,modern-pio-notify"
emulator: argv[36] = "-drive"
emulator: argv[37] = "if=none,index=3,id=encrypt,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[38] = "-device"
emulator: argv[39] = "virtio-blk-pci,drive=encrypt,modern-pio-notify"
emulator: argv[40] = "-drive"
emulator: argv[41] = "if=none,index=4,id=vendor,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img,read-only"
emulator: argv[42] = "-device"
emulator: argv[43] = "virtio-blk-pci,drive=vendor,modern-pio-notify"
emulator: argv[44] = "-drive"
emulator: argv[45] = "if=none,index=5,id=sdcard,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[46] = "-device"
emulator: argv[47] = "virtio-blk-pci,drive=sdcard,modern-pio-notify"
emulator: argv[48] = "-netdev"
emulator: argv[49] = "user,id=mynet"
emulator: argv[50] = "-device"
emulator: argv[51] = "virtio-net-pci,netdev=mynet"
emulator: argv[52] = "-device"
emulator: argv[53] = "virtio-rng-pci"
emulator: argv[54] = "-show-cursor"
emulator: argv[55] = "-device"
emulator: argv[56] = "virtio_input_multi_touch_pci_1"
emulator: argv[57] = "-device"
emulator: argv[58] = "virtio_input_multi_touch_pci_2"
emulator: argv[59] = "-device"
emulator: argv[60] = "virtio_input_multi_touch_pci_3"
emulator: argv[61] = "-device"
emulator: argv[62] = "virtio_input_multi_touch_pci_4"
emulator: argv[63] = "-device"
emulator: argv[64] = "virtio_input_multi_touch_pci_5"
emulator: argv[65] = "-device"
emulator: argv[66] = "virtio_input_multi_touch_pci_6"
emulator: argv[67] = "-device"
emulator: argv[68] = "virtio_input_multi_touch_pci_7"
emulator: argv[69] = "-device"
emulator: argv[70] = "virtio_input_multi_touch_pci_8"
emulator: argv[71] = "-device"
emulator: argv[72] = "virtio_input_multi_touch_pci_9"
emulator: argv[73] = "-device"
emulator: argv[74] = "virtio_input_multi_touch_pci_10"
emulator: argv[75] = "-device"
emulator: argv[76] = "virtio_input_multi_touch_pci_11"
emulator: argv[77] = "-device"
emulator: argv[78] = "virtio-keyboard-pci"
emulator: argv[79] = "-L"
emulator: argv[80] = "C:\Users\7abhi\AppData\Local\Android\Sdk\emulator/lib/pc-bios"
emulator: argv[81] = "-soundhw"
emulator: argv[82] = "hda"
emulator: argv[83] = "-vga"
emulator: argv[84] = "none"
emulator: argv[85] = "-append"
emulator: argv[86] = "no_timer_check clocksource=pit console=ttyS0,38400 cma=294M@0-4G ndns=4 mac80211_hwsim.channels=2 loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X8X4X0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 qemu.dalvik.vm.heapsize=512m qemu.camera_protocol_ver=1 androidboot.vbmeta.size=6144 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=25857a23ca496649ae6cb48216f3550520f596e03f8de9cd17fd18b308317287 androidboot.boot_devices=pci0000:00/0000:00:03.0 qemu.wifi=1 qemu.hwcodec.avcdec=2 qemu.hwcodec.vpxdec=2 android.qemud=1 qemu.avd_name=Pixel_111"
emulator: argv[87] = "-android-hw"
emulator: argv[88] = "C:\Users\7abhi\.android\avd\Pixel_111.avd\hardware-qemu.ini"
Concatenated QEMU options:
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe -dns-server 192.168.0.1,fec0:0:0:ffff::1,fec0:0:0:ffff::2,fec0:0:0:ffff::3 -mem-path C:\Users\7abhi\.android\avd\Pixel_111.avd\snapshots\default_boot\ram.img -mem-file-shared -serial con: -device goldfish_pstore,addr=0xff018000,size=0x10000,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\data\misc\pstore\pstore.bin -cpu android64 -enable-whpx -smp cores=4 -m 2048 -lcd-density 440 -nodefaults -kernel C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64 -initrd C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img -drive if=none,index=0,id=system,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img,read-only -device virtio-blk-pci,drive=system,modern-pio-notify -drive if=none,index=1,id=cache,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,modern-pio-notify -drive if=none,index=2,id=userdata,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,modern-pio-notify -drive if=none,index=3,id=encrypt,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=encrypt,modern-pio-notify -drive if=none,index=4,id=vendor,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img,read-only -device virtio-blk-pci,drive=vendor,modern-pio-notify -drive if=none,index=5,id=sdcard,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=sdcard,modern-pio-notify -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -device virtio-rng-pci -show-cursor -device virtio_input_multi_touch_pci_1 -device virtio_input_multi_touch_pci_2 -device virtio_input_multi_touch_pci_3 -device virtio_input_multi_touch_pci_4 -device virtio_input_multi_touch_pci_5 -device virtio_input_multi_touch_pci_6 -device virtio_input_multi_touch_pci_7 -device virtio_input_multi_touch_pci_8 -device virtio_input_multi_touch_pci_9 -device virtio_input_multi_touch_pci_10 -device virtio_input_multi_touch_pci_11 -device virtio-keyboard-pci -L C:\Users\7abhi\AppData\Local\Android\Sdk\emulator/lib/pc-bios -soundhw hda -vga none -append "no_timer_check clocksource=pit console=ttyS0,38400 cma=294M@0-4G ndns=4 mac80211_hwsim.channels=2 loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X8X4X0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 qemu.dalvik.vm.heapsize=512m qemu.camera_protocol_ver=1 androidboot.vbmeta.size=6144 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=25857a23ca496649ae6cb48216f3550520f596e03f8de9cd17fd18b308317287 androidboot.boot_devices=pci0000:00/0000:00:03.0 qemu.wifi=1 qemu.hwcodec.avcdec=2 qemu.hwcodec.vpxdec=2 android.qemud=1 qemu.avd_name=Pixel_111" -android-hw C:\Users\7abhi\.android\avd\Pixel_111.avd\hardware-qemu.ini
emulator: Android qemu version 30.8.4.0 (build_id 7600983) (CL:N/A)
emulator: Starting QEMU main loop
Failed to open /qemu.conf, err: 2
emulator: Adding boot property: 'ro.opengles.version' = '131072'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'front'
emulator: Adding boot property: 'qemu.adb.secure' = '1'
emulator: Adding boot property: 'dalvik.vm.heapsize' = '512m'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '440'
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument
emulator: Done with QEMU main loop
PS C:\Users\7abhi> adb shell top
adb.exe: no devices/emulators found
PS C:\Users\7abhi>
steps to reproduce:
upgrade windows 11
have virtual machine feature enabled (or hyper v) { in my case i use for windows sub system linux wsl}
other things are usual run emulator from android studio and get error
emulator info:
Name: Pixel_111
CPU/ABI: Google Play Intel Atom (x86)
Path: C:\Users\7abhi\.android\avd\Pixel_111.avd
Target: google_apis_playstore [Google Play] (API level 30)
Skin: 1080x2280
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 30
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel_111
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2280
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
skin.path.backup: C:\Users\7abhi\AppData\Local\Android\Sdk\skins\pixel_4
hw.audioInput: yes
image.sysdir.1: system-images\android-30\google_apis_playstore\x86\
showDeviceFrame: no
hw.camera.back: virtualscene
AvdId: Pixel_111
hw.lcd.density: 440
hw.arc: false
hw.device.hash2: MD5:6b5943207fe196d842659d2e43022e20
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6442450944
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
PS C:\Users\7abhi\AppData\Local\Android\Sdk\emulator> .\emulator -avd Pixel_111 -verbose -show-kernel
emulator: Android emulator version 30.8.4.0 (build_id 7600983) (CL:N/A)
emulator: Found AVD name 'Pixel_111'
emulator: Found AVD target architecture: x86
emulator: argv[0]: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\emulator.exe'; program directory: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator'
emulator: Found directory: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\
emulator: emuDirName: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator'
emulator: Found directory: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\
emulator: Probing for C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64: file exists
emulator: try dir C:\Users\7abhi\AppData\Local\Android\Sdk\emulator
emulator: Trying emulator path 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe'
emulator: Found target-specific 64-bit emulator binary: C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_angle'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_angle9'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_angle11'
emulator: Adding library search path: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\gles_swiftshader'
emulator: Adding library search path for Qt: 'C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\qt\lib'
emulator: Silencing all qWarning(); use qCWarning(...) instead: QT_LOGGING_RULES=default.warning=false
emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\lib64\qt\plugins
emulator: Setting Qt to use software OpenGL: QT_OPENGL=software
emulator: Setting QML to use software QtQuick2D: QMLSCENE_DEVICE=softwarecontext
emulator: Overriding pre-existing bad Qt high dpi settings...
emulator: Quoted param: [C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe]
emulator: Quoted param: [-avd]
emulator: Quoted param: [Pixel_111]
emulator: Quoted param: [-verbose]
emulator: Quoted param: [-show-kernel]
emulator: Running :C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe
emulator: qemu backend: argv[00] = "C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe"
emulator: qemu backend: argv[01] = "-avd"
emulator: qemu backend: argv[02] = "Pixel_111"
emulator: qemu backend: argv[03] = "-verbose"
emulator: qemu backend: argv[04] = "-show-kernel"
emulator: Concatenated backend parameters:
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe -avd Pixel_111 -verbose -show-kernel
emulator: autoconfig: -skin 1080x2280
emulator: autoconfig: -skindir (null)
emulator: autoconfig: -kernel C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
emulator: Auto-detect: Kernel image requires new device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img
emulator: Using initial system image: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img
emulator: Using initial vendor image: C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img
emulator: autoconfig: -data C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img
emulator: autoconfig: -initdata C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata.img
emulator: autoconfig: -cache C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img
emulator: autoconfig: -sdcard C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img
emulator: Increasing RAM size to 2048MB
emulator: VM heap size 256MB is below hardware specified minimum of 512MB,setting it to that value
emulator: System image is read only
emulator: Found 4 DNS servers: 192.168.0.1 fec0:0:0:ffff::1 fec0:0:0:ffff::2 fec0:0:0:ffff::3
emulator: VERBOSE: FeatureControlImpl.cpp:172: WARNING: unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
emulator: VERBOSE: FeatureControlImpl.cpp:175: Unexpected feature list:
emulator: VERBOSE: FeatureControlImpl.cpp:177: Vulkan
emulator: VERBOSE: FeatureControlImpl.cpp:179:
emulator: VERBOSE: System.cpp:3003: querying file version info API...
emulator: VERBOSE: System.cpp:3011: found kernelbase.dll
emulator: VERBOSE: System.cpp:3019: GetFileVersionInfoSizeW found. On Windows 10?
emulator: VERBOSE: System.cpp:3028: GetFileVersionInfoW found. On Windows 10?
emulator: VERBOSE: System.cpp:3058: VerQueryValueW found. Can query file versions
emulator: VERBOSE: System.cpp:3081: queryFileVersionInfo: path not found: amdvlk64.dll
emulator: VERBOSE: System.cpp:3003: querying file version info API...
emulator: VERBOSE: System.cpp:3081: queryFileVersionInfo: path not found: amdvlk32.dll
emulator: VERBOSE: System.cpp:3003: querying file version info API...
emulator: found magic skin width=1080 height=2280 bpp=16
emulator: Checking whether Windows Hypervisor Platform (WHPX) is available.
emulator: WinHvPlatform.dll found. Looking for WHvGetCapability...
emulator: WHvGetCapability found. Querying WHPX capabilities...
emulator: WHPX (10.0.22000) is installed and usable.
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.WHPX (10.0.22000) is installed and usable.
handleCpuAcceleration: feature check for hvf
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'qemu.cmdline' = 'androidboot.logcat=*:V androidboot.consolepipe=qemu_pipe,pipe:logcat'
emulator: Adding boot property: 'qemu.logcat' = 'start'
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: VERBOSE: MultiDisplay.cpp:341: create display 0
emulator: VERBOSE: MultiDisplay.cpp:435: setDisplayPose 0 x 0 y 0 w 1080 h 2280 dpi 0
added library vulkan-1.dll
emulator: Found 4 DNS servers: 192.168.0.1 fec0:0:0:ffff::1 fec0:0:0:ffff::2 fec0:0:0:ffff::3
Content of hardware configuration file:
hw.cpu.arch = x86
hw.cpu.model = qemu32
hw.cpu.ncore = 4
hw.ramSize = 2048
hw.screen = multi-touch
hw.mainKeys = false
hw.trackBall = false
hw.keyboard = true
hw.keyboard.lid = false
hw.keyboard.charmap = qwerty2
hw.dPad = false
hw.rotaryInput = false
hw.gsmModem = true
hw.gps = true
hw.battery = true
hw.accelerometer = true
hw.gyroscope = true
hw.audioInput = true
hw.audioOutput = true
hw.sdCard = true
hw.sdCard.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img
disk.cachePartition = true
disk.cachePartition.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img
disk.cachePartition.size = 66m
test.quitAfterBootTimeOut = -1
test.delayAdbTillBootComplete = 0
test.monitorAdb = 0
hw.lcd.width = 1080
hw.lcd.height = 2280
hw.lcd.depth = 16
hw.lcd.density = 440
hw.lcd.backlight = true
hw.lcd.vsync = 60
hw.gltransport = pipe
hw.gltransport.asg.writeBufferSize = 1048576
hw.gltransport.asg.writeStepSize = 4096
hw.gltransport.asg.dataRingSize = 32768
hw.gltransport.drawFlushInterval = 800
hw.displayRegion.0.1.xOffset = -1
hw.displayRegion.0.1.yOffset = -1
hw.displayRegion.0.1.width = 0
hw.displayRegion.0.1.height = 0
hw.displayRegion.0.2.xOffset = -1
hw.displayRegion.0.2.yOffset = -1
hw.displayRegion.0.2.width = 0
hw.displayRegion.0.2.height = 0
hw.displayRegion.0.3.xOffset = -1
hw.displayRegion.0.3.yOffset = -1
hw.displayRegion.0.3.width = 0
hw.displayRegion.0.3.height = 0
hw.display1.width = 0
hw.display1.height = 0
hw.display1.density = 0
hw.display1.xOffset = -1
hw.display1.yOffset = -1
hw.display1.flag = 0
hw.display2.width = 0
hw.display2.height = 0
hw.display2.density = 0
hw.display2.xOffset = -1
hw.display2.yOffset = -1
hw.display2.flag = 0
hw.display3.width = 0
hw.display3.height = 0
hw.display3.density = 0
hw.display3.xOffset = -1
hw.display3.yOffset = -1
hw.display3.flag = 0
hw.gpu.enabled = true
hw.gpu.mode = host
hw.initialOrientation = Portrait
hw.camera.back = virtualscene
hw.camera.front = emulated
vm.heapSize = 512
hw.sensors.light = true
hw.sensors.pressure = true
hw.sensors.humidity = true
hw.sensors.proximity = true
hw.sensors.magnetic_field = true
hw.sensors.magnetic_field_uncalibrated = true
hw.sensors.gyroscope_uncalibrated = true
hw.sensors.orientation = true
hw.sensors.temperature = true
hw.sensor.hinge = true
hw.sensor.hinge.count = 0
hw.sensor.hinge.type = 0
hw.sensor.hinge.sub_type = 0
hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture = 1
hw.sensor.roll = false
hw.sensor.roll.count = 0
hw.sensor.roll.resize_to_displayRegion.0.1_at_posture = 6
hw.sensor.roll.resize_to_displayRegion.0.2_at_posture = 6
hw.sensor.roll.resize_to_displayRegion.0.3_at_posture = 6
hw.sensors.heart_rate = false
hw.useext4 = true
hw.arc = false
hw.arc.autologin = false
kernel.path = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64
kernel.newDeviceNaming = yes
kernel.supportsYaffs2 = no
disk.ramdisk.path = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img
disk.systemPartition.initPath = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img
disk.systemPartition.size = 2331m
disk.vendorPartition.initPath = C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img
disk.vendorPartition.size = 800m
disk.dataPartition.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img
disk.dataPartition.size = 6g
disk.encryptionKeyPartition.path = C:\Users\7abhi\.android\avd\Pixel_111.avd\encryptionkey.img
PlayStore.enabled = true
fastboot.forceColdBoot = false
android.sdk.root = C:\Users\7abhi\AppData\Local\Android\Sdk
android.avd.home = C:\Users\7abhi\.android\avd
.
QEMU options list:
emulator: argv[00] = "C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "192.168.0.1,fec0:0:0:ffff::1,fec0:0:0:ffff::2,fec0:0:0:ffff::3"
emulator: argv[03] = "-mem-path"
emulator: argv[04] = "C:\Users\7abhi\.android\avd\Pixel_111.avd\snapshots\default_boot\ram.img"
emulator: argv[05] = "-mem-file-shared"
emulator: argv[06] = "-serial"
emulator: argv[07] = "con:"
emulator: argv[08] = "-device"
emulator: argv[09] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\data\misc\pstore\pstore.bin"
emulator: argv[10] = "-cpu"
emulator: argv[11] = "android64"
emulator: argv[12] = "-enable-whpx"
emulator: argv[13] = "-smp"
emulator: argv[14] = "cores=4"
emulator: argv[15] = "-m"
emulator: argv[16] = "2048"
emulator: argv[17] = "-lcd-density"
emulator: argv[18] = "440"
emulator: argv[19] = "-nodefaults"
emulator: argv[20] = "-kernel"
emulator: argv[21] = "C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64"
emulator: argv[22] = "-initrd"
emulator: argv[23] = "C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img"
emulator: argv[24] = "-drive"
emulator: argv[25] = "if=none,index=0,id=system,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img,read-only"
emulator: argv[26] = "-device"
emulator: argv[27] = "virtio-blk-pci,drive=system,modern-pio-notify"
emulator: argv[28] = "-drive"
emulator: argv[29] = "if=none,index=1,id=cache,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[30] = "-device"
emulator: argv[31] = "virtio-blk-pci,drive=cache,modern-pio-notify"
emulator: argv[32] = "-drive"
emulator: argv[33] = "if=none,index=2,id=userdata,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[34] = "-device"
emulator: argv[35] = "virtio-blk-pci,drive=userdata,modern-pio-notify"
emulator: argv[36] = "-drive"
emulator: argv[37] = "if=none,index=3,id=encrypt,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[38] = "-device"
emulator: argv[39] = "virtio-blk-pci,drive=encrypt,modern-pio-notify"
emulator: argv[40] = "-drive"
emulator: argv[41] = "if=none,index=4,id=vendor,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img,read-only"
emulator: argv[42] = "-device"
emulator: argv[43] = "virtio-blk-pci,drive=vendor,modern-pio-notify"
emulator: argv[44] = "-drive"
emulator: argv[45] = "if=none,index=5,id=sdcard,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[46] = "-device"
emulator: argv[47] = "virtio-blk-pci,drive=sdcard,modern-pio-notify"
emulator: argv[48] = "-netdev"
emulator: argv[49] = "user,id=mynet"
emulator: argv[50] = "-device"
emulator: argv[51] = "virtio-net-pci,netdev=mynet"
emulator: argv[52] = "-device"
emulator: argv[53] = "virtio-rng-pci"
emulator: argv[54] = "-show-cursor"
emulator: argv[55] = "-device"
emulator: argv[56] = "virtio_input_multi_touch_pci_1"
emulator: argv[57] = "-device"
emulator: argv[58] = "virtio_input_multi_touch_pci_2"
emulator: argv[59] = "-device"
emulator: argv[60] = "virtio_input_multi_touch_pci_3"
emulator: argv[61] = "-device"
emulator: argv[62] = "virtio_input_multi_touch_pci_4"
emulator: argv[63] = "-device"
emulator: argv[64] = "virtio_input_multi_touch_pci_5"
emulator: argv[65] = "-device"
emulator: argv[66] = "virtio_input_multi_touch_pci_6"
emulator: argv[67] = "-device"
emulator: argv[68] = "virtio_input_multi_touch_pci_7"
emulator: argv[69] = "-device"
emulator: argv[70] = "virtio_input_multi_touch_pci_8"
emulator: argv[71] = "-device"
emulator: argv[72] = "virtio_input_multi_touch_pci_9"
emulator: argv[73] = "-device"
emulator: argv[74] = "virtio_input_multi_touch_pci_10"
emulator: argv[75] = "-device"
emulator: argv[76] = "virtio_input_multi_touch_pci_11"
emulator: argv[77] = "-device"
emulator: argv[78] = "virtio-keyboard-pci"
emulator: argv[79] = "-L"
emulator: argv[80] = "C:\Users\7abhi\AppData\Local\Android\Sdk\emulator/lib/pc-bios"
emulator: argv[81] = "-soundhw"
emulator: argv[82] = "hda"
emulator: argv[83] = "-vga"
emulator: argv[84] = "none"
emulator: argv[85] = "-append"
emulator: argv[86] = "no_timer_check clocksource=pit console=ttyS0,38400 cma=294M@0-4G ndns=4 mac80211_hwsim.channels=2 loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X8X4X0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 qemu.dalvik.vm.heapsize=512m qemu.camera_protocol_ver=1 androidboot.vbmeta.size=6144 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=25857a23ca496649ae6cb48216f3550520f596e03f8de9cd17fd18b308317287 androidboot.boot_devices=pci0000:00/0000:00:03.0 qemu.wifi=1 qemu.hwcodec.avcdec=2 qemu.hwcodec.vpxdec=2 android.qemud=1 qemu.avd_name=Pixel_111"
emulator: argv[87] = "-android-hw"
emulator: argv[88] = "C:\Users\7abhi\.android\avd\Pixel_111.avd\hardware-qemu.ini"
Concatenated QEMU options:
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe -dns-server 192.168.0.1,fec0:0:0:ffff::1,fec0:0:0:ffff::2,fec0:0:0:ffff::3 -mem-path C:\Users\7abhi\.android\avd\Pixel_111.avd\snapshots\default_boot\ram.img -mem-file-shared -serial con: -device goldfish_pstore,addr=0xff018000,size=0x10000,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\data\misc\pstore\pstore.bin -cpu android64 -enable-whpx -smp cores=4 -m 2048 -lcd-density 440 -nodefaults -kernel C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\kernel-ranchu-64 -initrd C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\ramdisk.img -drive if=none,index=0,id=system,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\system.img,read-only -device virtio-blk-pci,drive=system,modern-pio-notify -drive if=none,index=1,id=cache,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,modern-pio-notify -drive if=none,index=2,id=userdata,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,modern-pio-notify -drive if=none,index=3,id=encrypt,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=encrypt,modern-pio-notify -drive if=none,index=4,id=vendor,if=none,file=C:\Users\7abhi\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\\vendor.img,read-only -device virtio-blk-pci,drive=vendor,modern-pio-notify -drive if=none,index=5,id=sdcard,if=none,file=C:\Users\7abhi\.android\avd\Pixel_111.avd\sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=sdcard,modern-pio-notify -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -device virtio-rng-pci -show-cursor -device virtio_input_multi_touch_pci_1 -device virtio_input_multi_touch_pci_2 -device virtio_input_multi_touch_pci_3 -device virtio_input_multi_touch_pci_4 -device virtio_input_multi_touch_pci_5 -device virtio_input_multi_touch_pci_6 -device virtio_input_multi_touch_pci_7 -device virtio_input_multi_touch_pci_8 -device virtio_input_multi_touch_pci_9 -device virtio_input_multi_touch_pci_10 -device virtio_input_multi_touch_pci_11 -device virtio-keyboard-pci -L C:\Users\7abhi\AppData\Local\Android\Sdk\emulator/lib/pc-bios -soundhw hda -vga none -append "no_timer_check clocksource=pit console=ttyS0,38400 cma=294M@0-4G ndns=4 mac80211_hwsim.channels=2 loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X8X4X0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 qemu.dalvik.vm.heapsize=512m qemu.camera_protocol_ver=1 androidboot.vbmeta.size=6144 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=25857a23ca496649ae6cb48216f3550520f596e03f8de9cd17fd18b308317287 androidboot.boot_devices=pci0000:00/0000:00:03.0 qemu.wifi=1 qemu.hwcodec.avcdec=2 qemu.hwcodec.vpxdec=2 android.qemud=1 qemu.avd_name=Pixel_111" -android-hw C:\Users\7abhi\.android\avd\Pixel_111.avd\hardware-qemu.ini
emulator: Android qemu version 30.8.4.0 (build_id 7600983) (CL:N/A)
emulator: Starting QEMU main loop
Failed to open /qemu.conf, err: 2
emulator: Adding boot property: 'ro.opengles.version' = '131072'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'front'
emulator: Adding boot property: 'qemu.adb.secure' = '1'
emulator: Adding boot property: 'dalvik.vm.heapsize' = '512m'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '440'
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005
C:\Users\7abhi\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument
emulator: Done with QEMU main loop
PS C:\Users\7abhi> adb shell top
adb.exe: no devices/emulators found
PS C:\Users\7abhi>
Description
As described in the post , application may want to know the quality that a QualitySelector will result in with specific use case combination/configuration.
Normally for specific feature, the use case combination won't change, which means a QualitySelector will always result in the same quality when the use cases are bound. So instead of a QualitySelector instance, it could be helpful to provide the actual selected quality through VideoCapture.