Skip to content

Set the ram of the emulator #190

Description

@zyuiop

echo no | avdmanager create avd --force --name test --abi "$TARGET/$ARCH" --package "system-images;android-$API_LEVEL;$TARGET;$ARCH"

You can add a -memory 8192 argument to set the RAM to 8GB.

The documentation mentions that the max value for this argument is 4096, but I think it's outdated. Check the log to see if 8192 is not ignored.

Good luck

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions