I'm adding in-app subscriptions to a .NET MAUI app (Android/iOS, .NET 8/10). As soon as I add a package that pulls in Google Play Billing — a RevenueCat community wrapper in my case, but the same happens with Plugin.InAppBilling — the Android build dies with a wall of manifest-merger errors:
java.exe error AMM0000: .../AndroidManifest.xml Warning:
Namespace 'com.android.billingclient' is used in multiple modules...
java.exe error AMM0000: Namespace 'com.google.android.gms.base' is used in multiple modules...
(\~40 more of these)
Build FAILED.
Things I tried that did not help: deleting bin/obj, downgrading the billing package, <AndroidManifestMerger>legacy</AndroidManifestMerger>, tools:node overrides. What's actually causing this and what's the correct fix?