Try installing from the universal installer, which should install everything required at the same time. 1 ChrisHamons US Forum Administrator, Xamarin Team Xamurai. Find a consulting partner to help you take your business mobile, ramp up with Visual Studio and Xamarin, and build higher quality mobile solutions. Long-term strategic partners are mobile experts who can guide you through any stage of the app lifecycle and will help you design, develop, and test high-performing cross-platform mobile apps. Xamarin.Forms is an open source mobile UI framework from Microsoft for building iOS, Android, & Windows apps with.NET from a single shared codebase. Whether you want a consistent look across platforms or prefer native look and feel, Xamarin.Forms will get you up and running in no time. Building a project on Xamarin.Android (I am using Visual Studio Preview 10 for Mac) just hangs. Even the 'Hello World' from Xamarin hangs when compiling. So I tried to reinstall Visual Studio.
-->The topics in this section explain how to install and configureXamarin.Android to work with Visual Studio on Windows and macOS, how touse the Android SDK Manager to download and install Android SDK toolsand components that are required for building and testing your app, howto configure the Android emulator for debugging, and how to connect aphysical Android device to your development computer for debugging andfinal testing your app.
Windows Installation
This guide walks you through the installation steps and configurationdetails required to install Xamarin.Android on Windows. By the end ofthis article, you will have a working Xamarin.Android installationintegrated into Visual Studio, and you'll be ready to start buildingyour first Xamarin.Android application.
Mac Installation
Xamarin Installer Mac
This article walks you through the installation steps and configurationdetails required to install Xamarin.Android on a Mac. By the end ofthis article, you will have a working Xamarin.Android installationintegrated into Visual Studio for Mac, and you'll be ready to startbuilding your first Xamarin.Android application.
Android SDK Setup
Visual Studio includes an Android SDK Manager that replaces Google'sstandalone Android SDK Manager. This article explains how to use the SDKManager to download Android SDK tools, platforms, and other componentsthat you need for developing Xamarin.Android apps.
Android Emulator Setup
These articles explain how to setup the Android Emulator fortesting and debugging Xamarin.Android applications.
Android Device Setup
This article explains how to setup a physical Android device andconnect it to a development computer so that the device may be used torun and debug Xamarin.Android applications.
Microsoft Mobile OpenJDK Preview
This guide describes the steps for switching to the preview release of Microsoft's distributionof the OpenJDK. This distribution of the OpenJDK is intended for mobile development.
Xamarin Mac Host
-->To start developing native, cross-platform .NET apps on macOS, install Visual Studio 2019 for Mac following the steps below.
Requirements
- A Mac with macOS High Sierra 10.13 or above.
To build Xamarin apps for iOS or macOS, you'll also need:
- Xcode 10.0 or above. The latest stable version is usually recommended.
- An Apple ID. If you don't have an Apple ID already you can create a new one at https://appleid.apple.com. It's necessary to have an Apple ID for installing and signing into Xcode.
Installation instructions
Download the installer from the Visual Studio for Mac download page.
Once the download is complete, click the VisualStudioforMacInstaller.dmg to mount the installer, then run it by double-clicking the arrow logo:
You may be presented with a warning about the application being downloaded from the Internet. Click Open.
Wait while the installer checks your system:
An alert will appear asking you to acknowledge the privacy and license terms. Follow the links to read them, then press Continue if you agree:
The list of available workloads is displayed. Select the components you wish to use:
If you do not wish to install all platforms, use the guide below to help you decide which platforms to install:
Type of App Target Selection Notes Apps Using Xamarin Xamarin.Forms Select Android and iOS platforms You will need to install Xcode iOS only Select iOS platform You will need to install Xcode Android only Select Android platform Note that you should also select the relevant dependencies Mac only Select macOS (Cocoa) platform You will need to install Xcode .NET Core applications Select .NET Core platform. ASP.NET Core Web Applications Select .NET Core platform. Azure Functions Select .NET Core platform. Cross-platform Unity Game Development No additional platforms need to be installed beyond Visual Studio for Mac. Refer to the Unity setup guide for more information on installing the Unity extension. After you have made your selections, press the Install button.
The installer will display progress as it downloads and installs Visual Studio for Mac and the selected workloads. You will be prompted to enter your password to grant the privileges necessary for installation.:
Once installed, Visual Studio for Mac will prompt you to personalize your installation by signing in and selecting the key bindings that you'd like to use:
If you have network trouble while installing in a corporate environment, review the installing behind a firewall or proxy instructions.
Learn more about the changes in the release notes.
Note
If you chose not to install a platform or tool during the original installation (by unselecting it in step #6), you must run the installer again if you wish to add the components later.
Install Visual Studio for Mac behind a firewall or proxy server
To install Visual Studio for Mac behind a firewall, certain endpoints must be made accessible in order to allow downloads of the required tools and updates for your software.
Configure your network to allow access to the following locations:
Next steps
Installing Visual Studio for Mac allows you to start writing code for your apps. The following guides are provided to guide you through the next steps of writing and deploying your projects.
iOS
- Device Provisioning(To run your application on device).
Android
.NET Core apps, ASP.NET Core web apps, Unity game development
For other Workloads, refer to the Workloads page.