I recently uploaded the *.aab
for an update to one of my apps, but the Google Play Developer Console gave the following warning:
This release will cause a significant drop in the number of devices your apps supports on the following form factors:
In the details, is says:
Doesn't support required ABI (2,248 devices)
arm64-v8a
x86_64
This update was created using .NET for Android 9.0, while the previous releases were created using Xamarin.Android, but they both have a minimum API of 21. I also have the Platform Target set to Any CPU. What am I forgetting or doing that could be reducing the number of supported devices? Thanks!
@Nathan Sokaski
You would need something like the following in your proj file.
<RuntimeIdentifiers Condition="'$(Configuration)'=='Release'">android-arm64;android-arm</RuntimeIdentifiers>
See https://learn.microsoft.com/en-us/dotnet/core/rid-catalog for a complete list of RuntimeIdentifiers for Android.
The example above covers all modern Android devices. I think the minimum API now is 25 for net9.0-android35. I'm not sure because I don't go that low.