-->
Xamarin products rely upon the platform SDKs from Apple and Google totarget iOS or Android, so our system requirements match theirs. This pageoutlines system compatibility for the Xamarin platform and recommendeddevelopment environment and SDK versions.
Browse other questions tagged android xamarin xamarin.android android-emulator visual-studio-mac or ask your own question. The Overflow Blog Podcast 367: Building a better developer platform. Follow steps 1-3 from above to start the emulator, kill the adb server on the Mac, and identify the emulator ports. Run ssh on Windows to set up two-way port forwarding between a local port on Windows ( localhost:15555 in this example) and the odd-numbered emulator port on the Mac's loopback interface ( 127.0.0.1:5555 in this example). If you are using a Mac with an Apple chip, such as the M1, you will need to install the Android Emulator for M1 preview from GitHub. After you have configured the Android Emulator, see Debugging on the Android Emulator for information about how to launch the emulator and use it for testing and debugging your app.
Take a look at the installation instructionsfor more information on obtaining the software and required SDKs.
Development environments
This table shows which platforms can be built with differentdevelopment tool & operating system combinations:
macOS | Windows | |
---|---|---|
Development Environment | Visual Studio for Mac | Visual Studio |
Xamarin.iOS | Yes | Yes (with Mac computer) |
Xamarin.Android | Yes | Yes |
Xamarin.Forms ^ | iOS & Android | Android, Windows/UWP (iOS with Mac computer) |
Xamarin.Mac | Yes | Open project & compile only |
^ Other platforms are also available.
Note
To develop for iOS on Windows computers there must be aMac computer accessible on the network,for remote compilation and debugging. This also works if you have Visual Studiorunning inside a Windows VM on a Mac computer.
macOS requirements
Xamarin Android Emulator Download Mac
Using a Mac computer for Xamarin development requires the following software/SDK versions. Checkyour operating system version and follow the instructions for the Xamarin installer.
Recommended | Notes | |
---|---|---|
Operating System | macOS Mojave (10.14) | Xcode 10 requires macOS High Sierra (10.13) or newer. |
Xamarin.iOS | iOS 12 SDK | The iOS 12 SDK ships with Xcode 10. |
Xamarin.Android | Android 6.0 / API level 23 | You can still target older Android versions while using the latest SDK, or you can build against older versions of the SDK if required. |
Xamarin.Forms |
| |
Xamarin.Mac | macOS Mojave (10.14) SDK | The macOS Mojave (10.14) SDK ships with Xcode 10 and is required to build apps that use the newest macOS APIs. |
Note
Xcode can be installed (and updated) ondeveloper.apple.com or via the Mac App Store.
Testing & debugging on macOS
- Xamarin mobile applications can be deployed to physical devices via USBfor testing and debugging (Apple Watch apps are deployed first to thepaired iPhone).
- Xamarin.Mac apps can be tested directly on the development computer.
Testing Notes | |
---|---|
Xamarin.iOS |
|
Xamarin.Android | Follow these instructions to configure your device, or use an emulator:
|
Xamarin.Forms | Xamarin.Forms apps for iOS and Android can be deployed to the relevant platforms as described above. |
Xamarin.Mac | Xamarin.Mac apps can be tested directly on the development computer. |
Warning
Xamarin.Mac 4.8 only supports macOS 10.9 (Mavericks) or higher.Previous versions of Xamarin.Mac supported macOS 10.7 or higher, butthese older macOS versions lack sufficient TLS infrastructure to supportTLS 1.2. To target macOS 10.7 or macOS 10.8, use Xamarin.Mac 4.6 orearlier.
Windows requirements
Using a Windows computer for Xamarin development requires the following software/SDK versions.Check your operating system version (and confirm that you are not using an Express version ofVisual Studio - if so, consider updating to a Community edition).The Visual Studio 2019 and Visual Studio 2017 installer includes an option to install Xamarin automatically (the Mobile development with .NET workload).
Recommended | Notes | |
---|---|---|
Operating System | Windows 10 | The minimum operating system version is Windows 7. Xamarin.Forms UWP support requires Windows 10. |
Xamarin.iOS | iOS 10 SDK (installed on a Mac) | To build iOS projects on Windows requires:
|
Xamarin.Android | Android 6.0 / API level 23 | You can still target older Android versions while using the latest SDK, or you can build against older versions of the SDK if required. |
Xamarin.Forms |
| |
Xamarin.Mac | Xamarin.Mac projects (macOS desktop apps) can be opened in Visual Studio and compiled to check for errors, but Mac applications cannot currently be built for distribution in Visual Studio. |
Note
- Xamarin for Visual Studio supports Visual Studio 2019 or Visual Studio 2017 (Community, Professional, and Enterprise).
- To use the latest Android and iOS SDKs requires the latest version of Visual Studio. For specific version requirements, refer to the Xamarin.Android release notes and Xamarin.iOS release notes.
- To develop Xamarin.Forms apps for the Universal Windows Platform (UWP) requiresWindows 10 with Visual Studio 2017. Visual Studio 2019 is recommended.
Testing & debugging on Windows
Xamarin mobile applications can be deployed to physical devices via USBor wirelessly for testing and debugging (iOS devices must be connected tothe Mac computer, not the computer running Visual Studio).
Testing Notes | |
---|---|
Xamarin.iOS |
|
Xamarin.Android | Follow these instructions to configure your device, or use an emulator:
|
Xamarin.Forms | Xamarin.Forms apps can be deployed to the relevant devices and emulators as described above. The iOS app can only be tested via the connected Mac hardware; and the Windows tablet/desktop apps for UWP can be tested directly on the development computer. |
Installation instructions
The latest Xamarin release for macOS can be downloaded with Visual Studio for Mac. For Windows,follow the Visual Studio installation instructions.
Xamarin Android Emulator Slow
A complete list of our current product releases is available on thewhat's new page. Thispage also links to the release notes.
Specific installation instructions for each platform are available here:
There's also additional information aboutXamarin.Forms supported platforms.