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# (17,886 stars) (5,445 forks)batch import
area-Infrastructuregood first issueos-android

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