Search code examples
androidreact-nativeandroid-studio

Apple M1 - Your CPU does not support VT-x


I tried everything and I am running out of ideas to have an Android simulator working on my mac.


Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 16, 2022
  • I downloaded "the R API Level 30 image"

  • I installed "The Zulu OpenJDK" with

brew tap homebrew/cask-versions
brew install --cask zulu11

Edit: Following @mmBs advice, I changed the path to Gradle

Preferences > Build > Gradle > Gradle JDK > azul-11

gradle JDK

...same result.

I can't make the virtual device works on my machine.

enter image description here

I always have this device manager error when I try to launch the simulator.

enter image description here

Question:

How can I have an android simulator working with an Apple M1?


Solution

  • 2024 Up to date solution

    Android emulator is now compatible with arm processor out of the box.

    But when you create a new emulator, not all emulator and system images in the list are arm compatible. Make sure you make the right choice (see screenshot above)

    enter image description here