Visual Studio Xamarin for Android development environment Setup and configuration &genymotion

Source: Internet
Author: User
Tags gtk android sdk manager

Xamarin is a mono-based platform.

Xamarin is designed to enable developers to write iOS, Android, Mac applications, or cross-platform mobile development in C #.

1, go to xamarin official website http://xamarin.com/download Xamarin, need to fill in some information to download

The required resource window pops up as it finishes

2. Download the Java JDK, Android SDK, Android NDK, GTK, Xamarin for Visual Studio (if you're developing with Visual Studio without having to download Xamarin), according to the resource URI given by ↑ Studio.)

Installed in the download order indicated above,

0 1, install Java JDK

02. Install the Android SDK

Then in the Android SDK installation directory, double-click "SDK Manager.exe", open the Android SDK Manager,android SDK Manage is responsible for downloading or updating different versions of the SDK package, it will get an installable version of the SDK, But there are walls in the country, and sometimes there are cases of getting failures. Can modify the Hosts file (or may not download), suggest or get a VPN, and then you can download the Android version of the SDK, there is a way to download good online, download the address http://www.androiddevtools.cn/

03. Install Android NDK

04, installing GTK

05. Install Xamarin for Visual Studio

When you are finished, open visual Studio 2013

Need to do some configuration to open the tools--options, configure the Android SDK, the Android NDK path--and OK

Next we create an Android app

Here we need to login, to register an account can be

You can use it for 30 days after registering and logging in.

And then we can write our Android app.

Now the key step is to create an Android emulator, of course, you can debug the real machine

Here's a nice Android simulator genymotion

Enter Genymotion official website http://www.genymotion.net/Download the latest genymotion

Select the free version

Select Genymotion and VirtualBox integrated (Genymotion relies on vitualbox virtual machine software)

After the installation is complete, open genymotion, select Add a virtual machine, then you will need to login, enter the account you just signed in

Select a virtual machine and then download (here i download Android 4.3 version)

Before using the simulator, you need to do some configuration, open settings-->adb--> select Android SDK location-->ok-->start open emulator

After success, you can test your Android app with Genymotion.

Sometimes you may need to turn on the virtual machine before opening vistual studio before the emulator that you just created appears in Vistual studio ↓

OK, if you can't connect to the emulator, it's mostly the SDK problem .

Visual Studio Xamarin for Android development environment Setup and configuration &genymotion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.