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 Josh on Using Umbraco Route Hijacking and posting to it
14 Jan 2019, 15:17 PM
By Shane on Xamarin Forms multiple instances of same app open
14 Dec 2018, 05:33 AM
By Daler on Xamarin MasterDetailPage has large margin/padding at top
3 Dec 2018, 06:30 AM
By JM on Solved: You need to use a Theme.AppCompat theme (or descendant) with this activity
10 Oct 2018, 13:36 PM
By praveen on Xamarin Forms - Working with threads
5 Oct 2018, 12:05 PM
By Lee Messenger on Umbraco Get Current Member or Member By ID
4 Sep 2018, 10:57 AM
By Naufil on How to open a modal window for a custom datatype in the Umbraco back office
30 Jul 2018, 12:40 PM
By Trevor on Replacing the Xamarin Header/Navigation bar with a custom view/template
19 Jul 2018, 18:36 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development