Fix the build logic to generate the native debug symbols
This commit is contained in:
parent
53be3b78d1
commit
c376348b16
6 changed files with 36 additions and 24 deletions
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue