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 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.
The mandroid path still appears to be the same, however I am now seeing a warning that mandroid could not be found on project load. This also prevents any builds from succeeding.
Diagnostic build output:
XVS v3.8 / 64f6a4f (XA 4.20 / 6f7ec52)
@Peter, Could you please provide me some steps so that I can also reproduc it at my end?
Is this error happening when you install the XVS msi in a clean VM, or is it happening when overriding an existent installation?
I had just pulled the latest from v3.8 and installed it over an existing v3.7 installation.
What's the contents of the %ProgramFiles(x86)%\MSBuild\Xamarin\Android? Does it contain mandroid.exe?
> What's the contents of the %ProgramFiles(x86)%\MSBuild\Xamarin\Android?
Here's the results of `dir /Q` for both v3.7 and v3.8:
mandroid.exe is there, and nothing out of the ordinary stands out to me unless I'm missing something?
Info added in comment 5, back to CONFIRMED.
androidtools requires that runtimePath, binPath, and bclPath be found.
runtimePath: Must contain either %ProgramFiles(x86)%\MSBuild\Xamarin\Android\Mono.Android.DebugRuntime-debug.apk or
Both of these exist.
binPath: Must contain mandroid.exe.
bclPath: Must contain mscorlib.dll. This would normally be %ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0.
As per Comment #5, runtimePath and bclPath are both satisfied. Is bclPath satisfied?
Does %ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll exist?
If it doesn't, then androidtools initialization will fail, and all paths will be null.
We've lost 9 files in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0 between v3.7 and v3.8, including mscorlib.dll:
*** Bug 24229 has been marked as a duplicate of this bug. ***
Fix verified in v3.8 / bf63d419e070
i still have the same issue although i have xamarin 18.104.22.168
-i have a fresh VS2015 Community edition
-%ProgramFiles(x86)%\MSBuild\Xamarin\Android? Doesn't contain mandroid.exe