Add in.csproj Configuration:
<PropertyGroup>
<AndroidEnableR8>true</AndroidEnableR8>
<AndroidLinkTool>r8</AndroidLinkTool>
<AndroidProguardConfig>proguard.cfg</AndroidProguardConfig
<AndroidSupportedAbis>armeabi-v7a;arm64-v8a;x86;x86_64</AndroidSupportedAbis>
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
</PropertyGroup>
Create proguard.cfg You could check this link
build project
dotnet build -c Release -f net8.0-android -p:AndroidPackageFormat=aab -p:DebugType=portable -p:DebugSymbols=true -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=path/to/your/keystore -p:AndroidSigningStorePass=your-store-password -p:AndroidSigningKeyAlias=your-alias -p:AndroidSigningKeyPass=your-key-password
You will find
the native files (.so) in this path
obj\Release\net8.0-android\app_shared_libraries
the mapping.text in this path
bin\Release\net8.0-android
Create a ZIP file containing the debug symbols .so files
push Zip file and mapping.text file to google play console