dotnet / dotnet/android

Support for Play Store "Native Crash Support"

Open
#8,903 4 comments 14 reactions 2 assignees Assigned to @dellis1972 View on GitHub
Area: App+Library Build
Dominant language
C#
Stars
2.1k
Forks
579
Avg merge
1d 21h
Merged PRs (30d)
257

Description

### Android application type

.NET Android (net7.0-android, net8.0-android, etc.)

### Affected platform version

.NET MAUI 8.0

### Description

I'm uploading app bundles, which were built using Release mode, to the Play Store.

On the Play Store developer console I'm getting the warning
> This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug.

It links to https://developer.android.com/build/shrink-code#native-crash-support for more details.

I cannot find any mention of it on https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-google-play?view=net-maui-8.0, and when looking online for ways to fix this, I only found forum discussions without a solution like
https://learn.microsoft.com/en-us/answers/questions/238871/this-app-bundle-contains-native-code.

I couldn't find a GitHub issue tracking this, and was wondering what I could do to fix this (the forum post was from 2021 - it is 2024 now, is there a new recommendation?).

### Steps to Reproduce

1. Build an app in release mode
2. Upload it to the Play Store

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.