Android emulator laggy on Mac

前端 未结 4 941
时光取名叫无心
时光取名叫无心 2020-12-23 11:57

First of all, yes I know there\'s a lot of topics similar to this issue, I did use the search function on stack overflow.

But most of the issue that were brought up

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 13:01

    On the latest version of the Android SDK there is support for x86 and native execution. Now it is possible to run the emulator at native speeds on a Mac but there is some work to do by hand.

    First you need the latest SDK Tools rev.19+ and Platform tools rev.11+, the Android x86 Atom System Image for 4.0.3 to 4.4 and the Intel Hardware Accelerated Execution Manager (HAX) all this from the Android SDK Manager.

    After this you need to install HAX, unfortunately the SDK Manager downloads an outdated version. There is the Intel-HAXM hotfix v1.0.8

    When you create a new AVD to use this latest system image and enable the GPU support on it (at the moment the snapshot support are not compatible with GPU but it still worths it. The VM will boot up in just a few seconds anyway.

    It considerably accelerates the development on Android, it is just a shame that it doesn't works like this out of the box.

提交回复
热议问题