Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
From a Customer:
Both the Android SDK and NDK are installed on the machine in question, they are trying to set up a student Lab for multiple users on the same machine. The admin account can locate the Android NDK and SDK but for those that do not have admin rights it does not show as installed.
There was an attempt to add the Xamarin Developer folder to System/Library/Developer but the software errors after defining that location under another account.
Is there an alternative way to set up a Lab based machine and have it detect Android SDK/NDK installations?
Make the Xamarin developer folder, with permissions modified for Read & Write for all users, copied to a central location so that non-admin users can then copy to their user profile developer folders, then edit the path in the Android SDK Manager). This seems to be working but is not really a great solution, as each user then needs to download additional SDKs if needed, instead of adding once per machine.
I'm not sure about this, I'm going to suggest that this might come under the purview of either the installer or XA.
Also, is this on Mac or Windows? The bug says Windows but you're mentioning a Mac path, it would be good to know for sure which OS we're talking about, although I suspect there may be similar issues for each OS.
Sorry this is Mac specific, I had that wrong updated accordingly
This is because the installer installs the Android SDK to the current user's home directory.
You can install the SDK anywhere on the machine and manually configure it in XS preferences.
If you install the SDK on Windows using the official Google installer, there is a registry key from which we automatically detect its location. However, there is no equivalent on MacOS.
As per comment 3 this issue has been answered by Michael. Hence marking this issue as RESOLVED-ANSWERED.