This blog mainly wrote how to use the environment to build xamarin development, to prevent myself in case of a computer reload system, you can read this blog directly.
Ii. Preparatory work
Before installing, you need to download the software needed for Xamarin and install them:
1.visual Studio 2015:http://news.mydrivers.com/1/439/439398.htm
2.xamarin 4.0.3.214:
Http://download.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4.0.3.214.msi
3.Android JDK and Ndk bothered to find: www.baidu.com
4.Android SDK:HTTPS://YUNPAN.CN/CMSEN26W3NCQX access password 5d34 after download, unzip it ok.
5 Android Simulator: Comes with simulator running speed it's so annoying. So I used the hippocampus to play third-party simulator
Third, the environment construction
1. After installing the Android JDK need to configure the environment variables, first find the Android JDK installation directory and then in the path system variable inside the directory add, I am WIN10 system, configuration is more convenient, will not please Baidu
2. After installing vs2015 and Xamarin, you can click "File" New Project "" To create an Android project.
You'll see this interface.
Congratulations, the Xamarin has been successfully installed, but it's too early to run, and there's something that needs to be configured
3. Configure Xamarin: Select tools in the VS option Bar "Xamarin account, login Xamarin accounts, no words can be registered in xamarin.com (Note: This site is very pit dad, after all, foreign sites, some things need fq to see and download), The following figure appears
4. Now just install the Xamarin plugin, also need to configure his environment, click on the tool "option" Find the Xamarin column, find the Android setting, select the corresponding directory such as, even if the configuration is successful
5. Although the environment has been successfully configured, but still cannot run, because my SDK version is relatively low when you double-click on the Axml file screen will prompt you to upgrade the SDK, so we need to open the SDK Manager update the following 2 tools on the line
After the update, when you open the Axml file to successfully display the
This time we will be able to run the Android project, open the simulator, the system will automatically recognize, such as, of course, Xamarin also support the real machine debugging, as long as the switch on USB debugging plug-in USB interface, the system can be recognized.
Click on the simulator name, the program will be executed, the simulator will automatically install the program and run, when it appears, congratulations have successfully completed the environment of Xamarin!
Xamarin.android Introduction: XAMARIN+VS2015 Environment construction