Can I tweak my android emulator to make it fast?

前端 未结 13 1455
星月不相逢
星月不相逢 2020-12-07 09:16

I am using the android emulator to run my programs. But its really slow. It takes around 90 seconds to startup and show the home screen. Can I tweak it so that I can reduce

13条回答
  •  情书的邮戳
    2020-12-07 09:47

    use those 3 options.

    emulator --cpu-delay 0 --no-boot-anim --cache ./cache --avd avd_name

    the first two are obvious. the third one will make the memory of the emulator kind of persistent. you can point it to any file that does not get destroyed by boot (such happens with /tmp) it's like a always-on hibernating device.

提交回复
热议问题