When creating a Multi-PLatform library for Nuget as per this guide: https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/nuget-multiplatform-libraries/platform-specific
if code that uses the Xamarin.Android SDK is added to the Android platform project, the build fails with the following error:
NuGet.Build.Packaging.ReferenceAssembly.targets(3,3): Error MSB6006: "ApiIntersect.exe" exited with code 1. (MSB6006)