Bug 1367 - md addin on Windows does not respect Android SDK path settings
Summary: md addin on Windows does not respect Android SDK path settings
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 1.0
Hardware: PC Windows
: Highest normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-08 14:59 UTC by Atsushi Eno
Modified: 2012-02-15 07:26 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Atsushi Eno 2011-10-08 14:59:08 UTC
I have installed MfA via the new installer and ran MD, and created a new project.
Since I have never used Android SDK at c:\Program Files*\, MfA fails to determine appropriate platform profile and resulted in missing Mono.Android.dll, I tried to switch the SDK to c:\android-sdk-windows which should be a sane operation. But it does not actually set the value and returns the path under c:\Program Files*\.
Comment 1 Atsushi Eno 2011-10-13 11:16:58 UTC
Actually this reproduces on VS2010 too.
Comment 2 Atsushi Eno 2011-10-13 11:46:09 UTC
regedit to workaround: In HKEY_CURRENT_USER\Software\Xamarin\MonoAndroid, remove PrivateAndroidSdkPath and PrivateAndroidSdkVersion.
Comment 3 Atsushi Eno 2012-02-15 07:26:16 UTC
It's fixed last year.