Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Xamarin for Android within Visual Studio Community 2015

I've recently installed Visual Studio Community 2015 and I've been following an MSDN tutorial "Build cross-platform apps with Xamarin". When its time to design the look of the app and I select the Main.axml file in the Resources\layout folder, the Android designer fails with:

The installed Android SDK is too old. Version 24.3.4 or newer is required. Please update to the latest version.

I've done a lot of searching and found that one of the newer versions of Android SDK caused the Xamarin Android designer to fail. I did find a version 24.4.1 that suggests this designer problem is fixed.

How do I update this part of Visual Studio (i.e. Xamarin.Android)? Here is a snippet of my install on Windows 7: enter image description here

like image 497
John Adams Avatar asked Nov 20 '15 00:11

John Adams


People also ask

Is Xamarin available for Visual Studio 2015?

Once Xamarin is installed you can see the Xamarin Templates inside the Project Menu. To Install Xamarin with Visual Studio, please follow the below steps. Launch the Visual Studio 2015 Installer and after some initialization, you should see the below screen. Please select “Customs” the type of installation.

How do I manually update Xamarin?

Go to Tools > Extensions and Updates... and click on the Installed list to check that the NuGet Package Manager for Visual Studio is at least version 2.8. 5. If it is older, click on the Updates list to download the latest version. Once you've updated the NuGet package to Xamarin.

Does Xamarin work with Visual Studio community?

Xamarin can be installed as part of a new Visual Studio 2019 installation, with the following steps: Download Visual Studio 2019 Community, Visual Studio Professional, or Visual Studio Enterprise from the Visual Studio page (download links are provided at the bottom).


5 Answers

Tools --> Options --> Xamarin

Under "iOS Settings" and "Android Settings" there is a link for "Check Now" next to the Updates settings

enter image description here

like image 191
Jason Avatar answered Nov 04 '22 05:11

Jason


You might want to update to Beta release if you need the latest components -

Goto VS 2015 -> Tools -> Option -> Xamarin -> Others -> Check Now

enter image description here

like image 39
Divyans Mahansaria Avatar answered Nov 04 '22 05:11

Divyans Mahansaria


They moved the "Check Now" into the harder-to-find Tools/Options/Xamarin/Other. We must always be on guard when dealing with the

Other

Watch for the exciting new location

like image 42
Steve Rawlins Avatar answered Nov 04 '22 06:11

Steve Rawlins


In newer Version of Visual studio this option is available in Other node

Goto VS 2015 -> Tools -> Options -> Xamarin -> Other -> Check Now

enter image description here

Here you can choose between Alpha, Beta or Stable versions of xamarin for Visual Studio.

like image 37
Paramjit Avatar answered Nov 04 '22 05:11

Paramjit


Apparently, my problem was solved after installing SDK Platform for Android 6.0 or API 23. API 24 or higher i.e Android 7.0 (Nougat) didnt run. If still not solved then install SDK Platform for even lower APIs like 22,21 ... Hope it helps.

like image 43
Sagaryal Avatar answered Nov 04 '22 05:11

Sagaryal