Visual Studio : The Android SDK Directory could not be found. Please set via /p:AndroidSdkDirectory

visual-studio-2012, xamarin-studio

Solution

You can also set the Android SDK location opening

Tools -> Options -> Xamarin -> Android Settings.

Or you have to re-install Android SDK.

Problem

I have installed Xamarin plugin for Visual Studio 2012. And when create an Android Project and build the same. I am getting the following error. `Error 1 The Android SDK Directory could not be found. Please set via /p:AndroidSdkDirectory. AndroidApplication1` I think this error is due to some mapping. Kindly guide to resolve this issue. Thanks in advance.

Original source