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

Share with
Tags
Latest Comments
By Mark Gentry on Windows Server 2019 - Change product key does nothing
20 Aug 2021, 03:30 AM
By Cathy on In-Place Upgrade for a Windows Server domain controller
31 Jul 2021, 18:28 PM
By Mr. Greymatter on Raspberry Pi - Running Java app on Raspbian
16 Feb 2021, 07:35 AM
By Mikko Seittenranta on Xamarin Forms multiple instances of same app open
16 Feb 2021, 04:34 AM
By Andrew on Auto/Custom height on Xamarin Forms WebView for Android and iOS
22 Jan 2021, 22:15 PM
By Nick on Raspberry Pi - Running Java app on Raspbian
14 Oct 2020, 19:37 PM
By Ivan on Fixed: Value cannot be null Parameter Name: source
15 Sep 2020, 19:47 PM
By Anand on Raspberry Pi - Bluetooth using Bluecove on Raspbian
7 Sep 2020, 16:53 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development