Locating Android SDK for Xamarin within Visual Studio

You may start Xamarin and realize that it can't find the Android SDK, the first option is to check if it's installed and if so, under who's account...

I found that despite installing the Android SDK on my own account, it was actually installed under the Administrators account, so check for it under there, e.g.

C:\Users\administrator\AppData\Local\Android\android-sdk

Also double check that it's not under your account and it's just Xamarin being annoying... (replace myusername with your actual username)

C:\Users\myusername\AppData\Local\Android\android-sdk

If you still can't find it, then chances are, you just haven't installed it. Download the SDK from the following location:

http://developer.android.com/sdk/installing/index.html

I'd recommend the Stand-Alone SDK Tools just because I've had issues with Android studio crashing in the past...

Once it's downloaded, install it and make sure that you've installed all the versions of Android that you want to develop for, and any other libraries you might find useful.

Next, you'll need to head into Visual Studio, click 'Tools' in the toolbar at the top, then click 'Options':

VS Tools

Once done, scroll to the bottom of the right hand pane within the new window and click Xamarin:

Xamarin Options

And that should be it, hit okay and restart Visual Studio, Xamarin should be find with your Android SDK now.


By Luke Alderton at 22 Jan 2016, 21:47 PM

Tags: Xamarin,Android

Comments

Post a comment
Sit tight...
We're adding your comment.
Thank you.
Your comment has been added.
There's been a problem.
Please try again later.
Share with
Tags
Latest Comments
By dipbleds on Raspberry Pi - Bluetooth using Bluecove on Raspbian
12 Dec 2017, 21:29 PM
By Ich on Replacing the Xamarin Header/Navigation bar with a custom view/template
26 Nov 2017, 17:11 PM
By Ravi Motha on My experience at Umbraco UK Festival 2017
12 Dec 2017, 08:39 AM
By Borges on How to add a Xamarin Forms Loading Screen/Overlay
7 Nov 2017, 19:11 PM
By Rutul Mehta on Auto/Custom height on Xamarin Forms WebView for Android and iOS
4 Nov 2017, 03:15 AM
By Pablo on Xamarin MasterDetailPage has large margin/padding at top
26 Oct 2017, 15:31 PM
By faiza on Using MaryTTS or OpenMary in Java
22 Oct 2017, 12:54 PM
By Nietoperz on Using MaryTTS or OpenMary in Java
29 Sep 2017, 14:34 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development