This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Description
Context: dotnet/maui#8233
We currently use <LibraryProjectZip> to specify which Java library we want to bind. Unfortunately, using this alone does not produce valid NuGet packages for .NET 6. These packages are missing the .jar/.aar library that should sit next to the .dll. (This library is no longer embedded in the .dll in .NET 6.)
We need to switch to using <AndroidLibrary> instead, which will do the correct thing for both .NET 6 and classic XA.
It looks like we use <LibraryProjectZip> in 22 templates:
https://github.com/xamarin/GooglePlayServicesComponents/search?q=LibraryProjectZip
Once changed, verify that the .aar is in the NuGet. ex:

This is likely causing many issues like: