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.


Published at

Tags: Xamarin,Android

Luke Alderton

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 Raymondpef on MVC forms in Umbraco
20 Nov 2018, 23:58 PM
By svetikNoupt on MVC forms in Umbraco
20 Nov 2018, 19:44 PM
By Lestersep on MVC forms in Umbraco
17 Nov 2018, 13:55 PM
By nseo-sw.men on MVC forms in Umbraco
17 Nov 2018, 00:43 AM
By shale.larosh on MVC forms in Umbraco
16 Nov 2018, 22:34 PM
By EdwardPhova on MVC forms in Umbraco
16 Nov 2018, 12:40 PM
By svetikNoupt on MVC forms in Umbraco
13 Nov 2018, 22:04 PM
By nseo-sw.men on MVC forms in Umbraco
13 Nov 2018, 17:47 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development