Xamarin development environment to build

A. Installation Environment

Open Visual Studio Installer, click Edit, and then check the "use .NET mobile development."

image-20191212092631111

II. Mobile SDK

SDK is placed in a default E:\Program Files (x86)\Android\android-sdk, this folder is best to move to a different disk, so as to create a space simulator, and then set about a new path in vs2019 years.

image-20191212103353699

III. Creating simulator

Click Tools-> Android -> Android Device Manager, create a simulator, the best choice for x86-image, you can use Intel Virtualization accelerate HAXM (need to open Intel VT in Bios).

image-20191212112443532

Then start the emulator

image-20191212112456636

四. Hello world

1. Create a project

image-20191212103449972

If you forget to compile fails, encounter this error, then you need to open the FQ.

image-20191212114028015

2. Run

The Android project is set to start, then run directly F5. (IOS also, but need to connect the MAC)

image-20191212125035540

五. Hot Reload

The UI design preview, XF now supports the Hot Reload, will modify the UI is real-time applications to APP, the very aspects

VI. End

Xamarin development environment to build this end.

Guess you like

Origin www.cnblogs.com/stulzq/p/12028521.html