dotnet/runtime

[Android] Implement post-build symbol stripping

Open

#115.717 aberto em 19 de mai. de 2025

Ver no 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

Guia do colaborador