dotnet/runtime

[Android] Implement post-build symbol stripping

Open

#115,717 opened on May 19, 2025

View on GitHub
 (3 comments) (0 reactions) (1 assignee)C# (5,445 forks)batch import
area-Infrastructuregood first issueos-android

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

Description

Build machines run out of disk space without symbol stripping. However, enabling symbol stripping removes debug symbols, which makes the app non-debuggable and breaks adb shell run-as access to internal storage. For test infrastructure, we need both: debuggable builds and stripped binaries.

Tasks

  • Keep the app debuggable during build
  • Strip debug symbols from native libraries after the build step

Contributor guide