Home  >  Article  >  Backend Development  >  Xamarin For Everyone

Xamarin For Everyone

黄舟
黄舟Original
2017-02-24 10:15:161486browse

This article was originally written on April 1, but later it was published. I found out that it was because the four characters were used in the article:

<span style="font-size:18px;">//科*学*上*网***</span>

, probably hitting a sensitive word. It’s good if everyone understands.

1, Background

I received an email this morning:

# I feel like Microsoft’s tycoons are quick to buy it after buying it. I don’t want to say more, I like this new toy! ! !

Nowadays, there is indeed a huge demand for mobile terminal development, such as Android, Apple, etc., and people are quite expensive, and the construction period is long. Rich companies can still do it through process and scale. It can be sustained, but generally small companies have to save money in this regard, so webapps wearing big cotton-padded jackets have become popular. But after all, it’s not easy to use, and I can’t stand this anyway. Therefore, in order to balance RMB and experience, a Hybird app appeared. However, after doing it myself, I found that the hybrid app model is quite mediocre. It does save the process of writing more than once, but it is difficult to build more than once. You must have some basic knowledge of native code.

When I first came into contact with Xamarin, it was not yet owned by Microsoft. At that time, relying on the advantages of cross-platform, write once, and can build for many platforms, it was still asking for a sky-high price. Companies are generally unwilling to pay for this. As an individual developer, I am NOMoney!! From this point, it can be seen that whether a technology becomes popular depends not only on its own advantages, but also on its The meaning of bigboss behind this technology.

I won’t say it, the more I talk about it, the more it sounds like I’m speculating on technology~

I feel like Microsoft’s wealthy people are quick to make purchases after buying them. , I don’t want to say more, I love this new toy! ! !

Nowadays, the development of mobile terminals, such as Android, Apple, etc., is indeed in great demand, and people are also quite expensive, and the construction period is long. Rich companies have adopted processes and scale The technology can still hold up, but generally small companies have to frugally save money in this area, so webapps wearing big cotton-padded jackets have become popular. But after all, it’s not easy to use, and I can’t stand this anyway. Therefore, in order to balance RMB and experience, a Hybird app appeared. However, after doing it myself, I found that the hybrid app model is quite mediocre. It does save the process of writing more than once, but it is difficult to build more than once. You must have some basic knowledge of native code.

When I first came into contact with Xamarin, it was not yet owned by Microsoft. At that time, relying on the advantages of cross-platform, write once, and can build for many platforms, it was still asking for a sky-high price. Companies are generally unwilling to pay for this. As an individual developer, I am NOMoney!! From this point, it can be seen that whether a technology becomes popular depends not only on its own advantages, but also on its The meaning of bigboss behind this technology.

I won’t say it anymore, the more I talk about it, the more it sounds like I am speculating on technology~

2. Installation configuration and helloXamarin


##              

    Everyone who has used java to develop Android knows that, Before development, you must first configure the JDK, then the SDK, and then configure it in the development tools, etc. There are also many configurations for using Xamarin to develop Android, but since Microsoft always does things cleanly, we can directly use XamarinInstaller.exe to perform similar one-click installation. Just sit back and wait.


## I only downloaded Xamarin.VisualStudio_4.0.1.147.msi, and then my VS12 and VS15 are ok . Then log in to your Xamarin account in VS:


##            

Xamarin For Everyone


##After that, configure

JDK, SDK, NDKEnvironment:

Xamarin For Everyone



It is recommended that

SDK#APIleve be higher. In addition, in terms of debugging, the official recommendation is to use

VirtualBox+Android player Preview

, similar to virtualBox+genymotion way. ​ Well, you can fill in the other pits yourself. I will update more later when I have time

Xamarin

DevelopmentAPP stuff. The above is the content of Xamarin For Everyone. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn