-
fix: bake the NDK into the image so debugSymbolLevel works
All checks were successfulbuild-android-builder-image / build-image (push) Successful in 3m15sreleased this
2026-07-24 13:09:36 +00:00 | 0 commits to main since this releasendk { debugSymbolLevel = "SYMBOL_TABLE" } needs the NDK's llvm-objcopy
to extract native symbol tables into the .aab's BUNDLE-METADATA. The
image shipped no NDK, so AGP silently skipped the step and Play warned
"no debug symbols" on every bundle with native code (confirmed by
inspecting Dade's 0.0.2 .aab: onnxruntime .so present, debugsymbols
metadata dir absent).Install ndk;27.0.12077973 (AGP 8.13's default, so app repos need no
android.ndkVersion), export ANDROID_NDK_ROOT/HOME, and add llvm-objcopy
to the image sanity check so an arch/version mismatch fails the image
build instead of silently dropping symbols downstream.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Downloads