Mono.Android-Tests is failing to build with AndroidGenerateJniMarshalMethods enabled #2683
Labels
Area: App+Library Build
Issues when building Library projects or Application projects.
Area: Unit Tests
Issues with repo unit tests.
Milestone
I'm no longer able to build the Mono.Android-Tests suite against a XA system install, as a result of the changes in #2153.
Steps to Reproduce
msbuild /t:SignAndroidPackage src/Mono.Android/Test/Mono.Android-Tests.csproj
_CreateJavaInteropDllConfigs
target because I don't have XA build artifacts in my checkout:Now, I can conditionally set
/p:XAInstallPrefix=/Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/
on macOS, but msbuild then runs into a permission issue when trying to modify the file:Finally, the
_CreateJavaInteropDllConfigs
target can't work on Windows as designed (though I don't believe any of this is yet supported on Windows anyway) becausexbuild
doesn't exist in the XA install path on Windows. The relevant assemblies and configuration files would be found in a path similar to the one shown below:Log File
https://gist.githubusercontent.com/pjcollins/31101a7f7b4badeaec79bac976d47533/raw/9633a1077e8865c80d606b061a4122a53438e242/gistfile1.txt
The text was updated successfully, but these errors were encountered: