官术网_书友最值得收藏!

Installing Xamarin.Android

Before we move on, we need to get Xamarin.Android installed. This section walks you through installing the latest Xamarin development platform (Xamarin.Android Version 5.1.3 and Xamarin Studio Version 5.9.3) on the Mac operating system.

Tip

At the time of writing this book, the installation instructions presented in this chapter are accurate. However, the tools are being updated rapidly, so these instructions may be out of date by the time you read this. You can refer to the official Xamarin website for the updated installation instructions.

You may choose to install Xamarin.Android and work through the samples on Windows OS; in which case, you will encounter only minor deviations in some of the directions. If you choose to install on the Windows operating system, you may refer to the installation guide from the official Xamarin developer portal at http://developer.xamarin.com/guides/android/getting_started/installation/windows/.

To install Xamarin.Android, perform the following steps:

  1. The Xamarin Studio IDE and Xamarin.Android platforms are the prerequisites to develop an Android application using Xamarin. Go to the download section of http://xamarin.com/, fill in your personal details, download the unified installer for your operating system, and launch it:
    Installing Xamarin.Android
  2. Click on the installer page and the agreement page until you come to the Product Selection page. The installer allows the installation of both Xamarin.Android and Xamarin.iOS, as shown in the following screenshot:
    Installing Xamarin.Android
  3. Xamarin.iOS will not be needed for the exercises in this book; you may uncheck Xamarin.iOS for the installer window and click on Continue.
  4. Now the installer will proceed to configure the installation directory. You may either change the installation location on your computer, or continue with the installation:
    Installing Xamarin.Android
  5. Next, the prerequisites for the installation will be listed, as shown in the following screenshot. It requires installing the Mono framework, the Android SDK, Xamarin Studio, and the Xamarin.Android component. Click on Continue to proceed with the installation:
    Installing Xamarin.Android
  6. You will now see the Android SDK agreement page. Just accept and click on Continue for installation. An installation progress page will be displayed depicting the component installation in progress:
    Installing Xamarin.Android

    Note

    During installation of Xamarin.Android, if you're encountering Android SDK download issues, please ensure that downloads are not blocked by your corporate network or firewall. For such events, you can download and install the standalone Android SDK from https://developer.android.com/sdk/index.html. Once Android SDK is installed on your computer, you can resume with Xamarin package installer.

  7. As each component is installed, a check mark will be placed next to the component, and once all the items are installed, a final installation completion page will be displayed.
  8. Now click on Launch Xamarin Studio:
    Installing Xamarin.Android
主站蜘蛛池模板: 西平县| 福建省| 扬中市| 讷河市| 莎车县| 兴化市| 集贤县| 开原市| 宜丰县| 柏乡县| 昌黎县| 河北区| 彩票| 科技| 和平县| 华宁县| 桂林市| 佳木斯市| 阿拉善右旗| 汝州市| 张北县| 赞皇县| 盐池县| 荣昌县| 离岛区| 广宁县| 通榆县| 合阳县| 无极县| 河间市| 宜阳县| 即墨市| 雅安市| 太保市| 沭阳县| 淮北市| 醴陵市| 团风县| 揭东县| 九龙城区| 酉阳|