Xamarin won't install in current of Visual Studio 2015 - visual-studio

I have tried uninstalling Xamarin, and reinstalling Visual Studio 2015, and it keeps failing.
this below
results in this
Is there anywhere I can grab that missing package directly. I have the Visual Studio installer downloading the packages from the internet. If I can install that package manually (aka, an MSI), then I believe it should be ok. Xamarin (as part of Visual Studio) won't install until this ancient SDK installs.
I also tried Xamarins' installer, but it never shows up in Visual Studio 2015, likely because of this dependency failing.
Some other things I have tried :
Common issues in Visual Studio 2015 setup
StackOverflow: Install Xamarin on Visual Studio 2015
Xamarin: Installing Xamarin on Windows
Uninstalling Xamarin

try to open the SDK Manger from your PC ( as an administrator ) and install the missing packages

Actually android sdk is failing to download, maybe because of slow or unstable internet connection or the download path which xamarin is using is available anymore.
Go to- http://www.xamarin.com/download and get a separate xamarin installer for your visual studio and install from it.
If it again don't fails to install android sdk then go to https://developer.android.com/studio/index.html and download sdk separately, remember the sdk's install path, you can configure visual studio later.

Related

Visual Studio 2017 - Toolbox not loaded and hanging

I have just installed Visual Studio 2017 in my Windows 10.
I got error in initializing the Toolbox and it keep hanging.
Is there something I can do with?
I have launched the VS 2017 with Administrator, but this doesn't resolved the issue.
I had the same issue. I uninstalled Azure stuff and Clang/C2 and Toolset for Visual 2015.3 v140 and Xamarin stuff and added Apache Ant. After that it worked. So some of the above seams to resolve the issue. I will not do further investigation, because for me it is OK without that stuff.
Had the same problem. I did have Xamarin installed but not Android SDK, because I had it already installed for various other tools.
Turns out this is caused by Xamarin trying to access Android SDK, which isnt there. Solution seems to be to either remove Xamarin or install Android SDK, according to development community forum.
Unfortunatly, installing Xamarin and going into Xamarin/Android Settings to point to existing Android SDK (without it) also seems to hang VS2017.
HOWEVER...
If you want to keep Xamarin and use your own Android SDK/NDK, what you can do is:
Lauch Visual Studio 2017 Installer
Install Xamarin and Android SDK (dont need to install NDK as well)
Launch Visual Studio 2017
Go into Tools / Options / Xamarin / Android Settings (It wont hang
now)
Point to your existing Andoid SDK / NDK and Java runtime you want to
use
Close VS2017
Go back to Visual Studio Installer
Uninstall Android SDK
Before that I tried to define an ANDROID_HOME environment variable and tried to set the paths in registry, neither of those helped. This fixed the problem for me.
I tried all the voodoo solutions, removed every extension (xamarin included) and every package except the core .net and C# VS, which I updated to the latest version available v15.9.30. Same problem.
The solution for me was to uninstall an office plugin/tool from a previous visual studio.
The problem app was "Microsoft Visual Studio 2010 Tools For Office Runtime (x64)". After I uninstalled it, the problem was gone.

How to install xamarin android components manually for visual studio 2015 community edition

I am using visual studio 2015 , i need to install xamarin components for android in visual studio offline manually.
How to do this manually (offline installation) ?
can anyone please share the offline components links
You can check this link for Xamarin Android Manual Installation. It includes the steps required to manually install Xamarin.Android

Unable to open Xamarin Studio on Windows 10

I Have been follow the steps in this video to install xamarin studio without visual studio
How to install Xamarin Studio in windows
and when i try to open it its not working,no message no anything
I try to run it as administrator and its doesnt work
If you look in the IDE log file, which is in the %AppData%\Local\Xamarin-Studio-6.0\Logs directory and you see an error similar to:
System.DllNotFoundException: Unable to load DLL 'libglib-2.0-0.dll': The specified module could not be found.
Then you may be able to fix this by installing an older version of GTK#. Full steps to do this are:
Stop Xamarin Studio.
Uninstall GTK#.
Install an older version of GTK# such as GTK# 2.12.30
Xamarin Studio on Windows 10 requires a bit of modification since we do not ship it in our Windows installer anymore:
https://www.xamarin.com/faq#xpq6
It is highly recommended to use Visual Studio on Windows as it is free with the Community Edition.

Xamarin installation

We watched a Xamarin installation video by Jason D, downloaded XamarinInstaller.exe version3.6 and ran it. We noticed that unlike the video, we are only seeing the Andriod SDK and the Xamarin for Visual Studio components in our options and missing the GTK# and Xamarin Studio. The install finished successfully so we don't know whether we have everything we need or not.
The reason we think this is because when we launch VS, we don't see any Xamarin.Forms type projects, for example.
Can someone tell us if we may be missing some pieces?
Thanks in advance for any help.
1.- Remove all
2.- instal VisualStudio 2015
3.- run xamarin installer
Did you installed the extension correctly that binds xamarin with visual studio?
Open Control Panel > Programs, search for your edition of Visual Studio and then click the Change/Uninstall button at the top of the window. Wait for a moment while the Visual Studio Installer launches, and then repair the installation.
Updated: I have followed the below steps for Visual studio 2015. Hope that it will work for other versions of Visual studio.
To install Xamarin framework into Visual studio successfully, please follow the below steps,
Visual studio 2015 community edition installation:
To download VS2015 Community edition ISO (Size is around 7GB), check
http://www.kunal-chowdhury.com/2015/07/download-visualstudio-2015.html
To install VS2015 Community edition, please follow the below link, http://www.howtosolutions.net/2015/08/solving-installation-is-stuck-problem-in-visual-studio-community-edition/
Offline installation would be more faster (around 1 to 2 hours).
If any further issue comes, repair MS Visual C++ 2015 redistributable.
Finally, VS 2015 will be installed quickly.
Xamarin framework Installation:
To download Xamarin, visit https://www.xamarin.com/download
You can download Xamarin Installer.
Launch Xamarin installer, it will download and install the below components,
Java 8.
Android SDK, NDK and emulator images.
Xamarin Framework.
To store the setup of components, launch Xamarin installer and while it starts downloading, disconnect internet.
It will abort and open Manual installation instructions. Connect to internet again and you can save setup.exe for all components from manual wizard and install it for later purpose.
After Xamarin is installed, launch Visual studio 2015.
You can create Xamarin projects, under Visual C# -> Cross platform option.
Revert back for queries, if any.

How to install Xamarin for Visual Studio 2015 when Visual Studio 2013 is installed too?

I install both Visual Studio 2013 and 2015. I need install Xamarin for VS 2015. But I can't do it because by default it's installing for VS 2013.
I think the link below may assist you:
first, uninstall everything related to xamarin.
second, open vs2015 and create new andriod project
third, when project is created you'll see instructions to downloading xamarin.
Download the xamarin installer for vs2015, install it, after installation - open vs2015 and see the newly added projects.
http://www.infragistics.com/community/blogs/blagunas/archive/2014/11/14/installing-xamarin-for-visual-studio-2015-preview-side-by-side-with-visual-studio-2013.aspx

Resources