Skip to content

Emulator not working #101

@ArcherEmiya05

Description

@ArcherEmiya05

After a successful creation of AVD, i tried to run the emulator but get an error.

Commands
emulator -avd EMU -no-window -no-audio -no-boot-anim & ./gradlew connectedAndroidTest --continue

Logs

WARNING | Crash annotation is very large (17292), only 16384 bytes will be recorded, 908 bytes are lost.

INFO    | Storing crashdata in: /tmp/android-unknown/emu-crash-34.1.20.db, detection is enabled for process: 378

INFO    | Android emulator version 34.1.20.0 (build_id 11610631) (CL:N/A)

INFO    | Found systemPath /opt/android-sdk-linux/system-images/android-34/google_apis_playstore/x86_64/

WARNING | Crash annotation is very large (17651), only 16384 bytes will be recorded, 1267 bytes are lost.

WARNING | File System is not ext4, disable QuickbootFileBacked feature

Downloading https://services.gradle.org/distributions/gradle-8.4-bin.zip

ERROR   | x86_64 emulation currently requires hardware acceleration!

CPU acceleration status: KVM requires a CPU that supports vmx or svm

More info on configuring VM acceleration on Linux:

https://developer.android.com/studio/run/emulator-acceleration#vm-linux

General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.

INFO    | Storing crashdata in: /tmp/android-unknown/emu-crash-34.1.20.db, detection is enabled for process: 378

INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.

INFO    | Increasing RAM size to 2048MB

  [1]: https://github.com/mindrunner/docker-android-sdk

If my understanding is correct we need HAXM or KVM here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions