Android emulator ,mac

broken image

Usually this prints /Applications/Xcode.app/Contents/Developer. You can obtain the installation directory as follows: export XCODE_PATH=$(xcode-select -print-path 2>/dev/null) You can validate that you have an Xcode version available by running: xcodebuild - version Note: Xcode is usually installed in /Applications/Xcode.app you might run into unexpected issues if this is not the case. You will only be able to launch the emulator with the -gpu off flag. Note: You can compile with any version of Xcode > 10.1, but might run into issues around Qt.

broken image

The next step is to to accept the license and install the command line tools. Move Xcode to the Applications folder and you are good to go. Simply double-click the xip file and it will extract the Xcode application. We use xcode 10.1 and encourage you to use the same version.

broken image

We have pinned the compiler and MacOS SDK on the build bots to make sure we do not encounter unexpected issues.

broken image

Throughout the emulator code base and documentation we ofter refer to MacOS as Darwin.

broken image

This document describes how to get started with emulator development under MacOS.