recently in self-learning Xamarin and Android, but also found in the domestic do not much of Xamarin. I have encountered a lot of problems in the middle of self-study, and Baidu to a lot of tutorials are also some outdated, and now intend to write something a little summed up, by the way to help posterity pointed the way. Because there is no Chinese material at hand, I am also my own groping out, and I am only at the beginning of the understanding of Android (learning notes, do not learn to write ╮(╯▽╰)╭), will inevitably appear wrong, there are problems to discuss together (after all, the. Net depends on our Tengda).
Take Visual Studio Community as an example.
1. Install Xamarin
In the installation options for Visual Studio, there is a " cross-platform Mobile development " option, and then select "c#/.net (Xamarin v4.2.1)" and then install it when you are done. (The default installation, do not need scientific Internet, in the middle of error ignored, as long as the VS can create xamarin.android project on the line)
2. Install Android Studio
Since Google recently opened a developer site in China https://developers.google.cn, download Some development tools there is no need to science online, this is the installation of Xamarin without scientific Internet. Download Android Studio at https://developer.android.google.cn/studio/index.html and complete the next step. Note that remember that the Android SDK 's storage path is used when configuring the Xamarin environment.
3. Download the JDK
Because Android 7.0 needs JDK8 to develop, so also need to download a JDK, version random, Windows x86 on line, URL →http://www.oracle.com/technetwork/cn/java/javase/downlo Ads/jdk8-downloads-2133151-zhs.html
4. Configure Xamarin
In Xamarin, Android Studio, JDK8 after the installation is complete, open Visual Studio, choose Tools - options , and then the Options window opens. In the left menu list, find "Xamarin"-"Android Settings" and change the JDK and SDK paths to the installation path of the first two steps.
When you're done with the changes, choose Tools -android-android SDK Managerto download the required APIs to complete the configuration. (Google should have a source in the country, Xamarin's SDK Manager to download the scientific Internet, and Android Studio SDK Manager can be full speed)
Zhang Happy xamarin.android Study notes: (i) Environment configuration