Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup Visual Studio for Xamarin.Android?

In the developers preview of VS2015 I've seen that you can now develop Android Apps in Visual Studio using Xamarin.
After a few hours of googling I still haven't found how to setup VS2015 for Android. The only tutorial provided on the official Xamarin page is on how to link your PC with a Mac to build iOS Apps.

No matter, what I do, I still have only "Build native Android apps in C#" as a Project template which redirects me to the Xamarin download page.

Here's what I've done so far:

  • Downloaded and installed Xamarin
  • Restarted computer
  • Uninstalled Xamarin and VS2015 (I had a lot of plugins)
  • Reinstalled Visual Studio 2015 (maybe a clean install fixes the problem)
  • Reinstalled Xamarin
  • Opened sample code from Xamarin page (Project type not supported)

After all it still doesn't work and google isn't going to help me either.

(PS: Please don't suggest using Xamarin studio)

like image 302
Paedow Avatar asked Mar 25 '15 12:03

Paedow


1 Answers

Apparently the setup leaves out any Visual Studio (2010, 2012, 2013 and 2015) support by default.

Here's the solution:

  • Press [Win+R] and type control
  • Select Programs and Features
  • Select Xamarin and click the "Change" button
  • In the setup click "Next", then click "Change"
  • Here you can select which VS Support should be installed
  • Apply the changes by clicking "Next", then click "Change"
like image 148
Paedow Avatar answered Oct 04 '22 22:10

Paedow