You are on page 1of 6

Manual Installation

Installing Xamarin.Android for Windows involves six steps:

Step 1 - Install the Java JDK


Download and install the Java 1.6 (Java 6) or Java 1.7 (Java 7) JDK. The JRE is not sufficient. The Android SDK requires the 32 bit JDK, that is, select "Windows" for your platform, not "Windows x64".
G

http://www.oracle.com/technetwork/ja...ads/index.html

Step 2 - Install the Android SDK


Download the Android SDK from Google:
G

Download Windows SDK installer (e.g. installer_r10-windows.exe) from: http://developer.android.com/sdk/index.html Run the installer. Run the SDK Manager after install. Install at least: Android SDK Tools, revision 16 or greater Android SDK Platform-tools, revision 10 or greater Install one or more SDK Platforms, such as: SDK Platform Android 1.6, API 4, revision 3 SDK Platform Android 2.2, API 8, revision 2
H H H H

Note: Available versions are updated frequently and these versions are just suggestions. Normally it is easiest to use the Update All... button.

If you receive an error message when opening the SDK Setup application that states "Failed to fetch URL https://...", you should check the "Force https://... sources to be fetched using http://..." option under "Misc" in the "Settings" list before returning to the "Available Packages" list.

Step 3 - Configure Your Simulator


The Android Simulator can be run in a variety of configuration to simulate different devices. You should configure at least one to get started. You do this by selecting the "Virtual Devices" option from the Android SDK installer:

Select "New" in this dialog box, and then configure your device. This is a good starting configuration:

Do not be scared by the following message, this is Android's SDK way of telling you that everything is OK, and everything will be alright:

Once you do this, you are done configuring the emulator. There is nothing left to do in the Android SDK Setup application. Note: You should not start the emulator from the Android SDK Setup application. The Xamarin.Android addin will handle this for you.

Step 4 (Optional) - Install Xamarin Studio for Windows


Log in to your Xamarin account and download the Xamarin Studio installer from the Downloads page .

Step 5 - Install Xamarin.Android for Windows


Log in to your Xamarin account and download the Xamarin.Android Windows installer from the

Downloads page.

Step 6 - Install Xamarin.Android Xamarin Studio addin


The latest Xamarin Studio beta includes the Xamarin.Android Xamarin Studio addin, but it may be the case that a newer version of the addin is available. To make sure you are using the latest one go to the Tools->Addin Manager dialog, and go to Updates. In case a newer version exist, a Mobile development node will appear, containing a "Xamarin.Android development" element. Select it and click on the "Update" button on the right.

Configuring the Addin


After installing the addin, you will have to tell it where you have installed the Android SDK. In Xamarin Studio: go to the Xamarin Studio menu in the top left, and select Preferences. Select SDK Location and then Android.

In Visual Studio: open the Tools->Options dialog, go to the Xamarin category, and select the Android Settings option panel, and specify the Android SDK location.

You might also like