Fix the build logic to generate the native debug symbols

This commit is contained in:
Fredia Huya-Kouadio 2025-06-20 17:03:43 -07:00
parent 53be3b78d1
commit c376348b16
6 changed files with 36 additions and 24 deletions

View file

@ -67,9 +67,11 @@ android {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
// 'doNotStrip' is enabled for development within Android Studio
// Debug symbols are kept for development within Android Studio.
if (shouldNotStrip()) {
doNotStrip '**/*.so'
jniLibs {
keepDebugSymbols += '**/*.so'
}
}
}