Amazon AMI 对 Android 仿真器的 KVM 支持

KVM Support for Android Emulator with Amazon AMI

嗨,我想 运行 Android 使用 Bitbucket 管道的模拟器 运行ner,它需要 KVM 支持机器。请推荐具有 KVM 支持(启用虚拟化)的 ami。我尝试了 C5 和 Oracle Enterprise Linux。 Android 仍然不支持模拟器

VERBOSE | Creating empty ext4 cache partition: /root/.android/avd/Pixel_3a_API_24_x86_64.avd/cache.img
Creating filesystem with parameters:
    Size: 69206016
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 4224
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 16896
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
VERBOSE | CPU Acceleration: DISABLED
VERBOSE | CPU Acceleration status: KVM requires a CPU that supports vmx or svm
VERBOSE | handleCpuAcceleration: feature check for hvf
detox[973] ERROR: ChildProcessError: `/opt/android/emulator/emulator -verbose -no-audio -no-boot-anim -no-window -gpu swiftshader_indirect -port 16162 @Pixel_3a_API_24_x86_64` failed with code 1
    at ChildProcess.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/child-process-promise/lib/index.js:132:23)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)

请使用 C5 裸机。但是问题没有解决,因为我在使用此实例类型后收到新错误。然而,裸机是唯一的解决方案。