Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Xamarin.Android for Visual Studio Enterprise 2015 offline

I want to install Xamarin for Android Development in Visual Studio 2015 Enterprise.

While installing, Xamarin told me that I was missing a lot of features, so it would download and install them for me. The download size was around 2GB, and I have a really slow internet.

I wanted to know if there is a way to download Xamarin and all required components separately, using some download manager like IDM, and then be able to use it later to re-install/install on another PC.

Also, I was able to find offline setups for JRE and JDK, and also Android Studio and Android SDK/NDK, but still, the download size is around 1.5GB, which I presume is for the required Android SDK libraries, APIs and tools.

So, I am just asking for a guide on downloading all the components and store them for installing later.

like image 864
Haider Ali Punjabi Avatar asked Sep 23 '15 15:09

Haider Ali Punjabi


2 Answers

According to the official docs (whose pictures are outdated, by the way) you should login to your account and then head to the download page where you could find links to different versions of Xamarin.

I did so, but all that's available there are older versions of Xamarin Studio and the universal installer. Similar searches on the Xamarin Forums yielded no results as well.

There's a way to find the direct URL for each installer by checking the XML used by the Platform Installer (located at \AppData\Local\Temp\Xamarin\downloads\InstallationManifest.xml). I haven't tested whether installing them separately will work or not, but it probably will. Just make sure to install them in the right order (and to install the Android SDK/NDK after installing Xamarin.Android)

Here are the links to the latest versions, as of today:

  • Xamarin.Android
  • Android SDK
  • Android NDK (x64)
  • GTK#
  • Xamarin Studio
  • Xamarin for Visual Studio

It'd be good if someone with a Mac could help me find the URL for Xamarin.iOS, but that's a start :P

like image 54
William Barbosa Avatar answered Oct 25 '22 23:10

William Barbosa


You can download this XML file and find the link of latest version of all required components.I did this and the latest links are :

  • Java JDK 1.7
  • Android SDK 24.4.1
  • NDK 10 (32) or NDK 10 (64)
  • Xamarin for Visual Studio 2015 4.1.2.18
  • Intel HAXM 6.0.1
  • Microsoft MSBuild Tools 2015.0

You don't even need to login for download them.

like image 31
Reza Avatar answered Oct 25 '22 21:10

Reza