10BC0 [android] Keep debug symbols in debug apk by biodranik · Pull Request #11764 · organicmaps/organicmaps · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@biodranik
Copy link
Member
@biodranik biodranik commented Nov 18, 2025
  • Adds ~65Mb to the debug apk size.
  • Helps to see stack traces in adb logcat.

Signed-off-by: Alexander Borsuk <me@alex.bio>
@biodranik biodranik requested a review from a team as a code owner November 18, 2025 23:33
@AndrewShkrob
Copy link
Member

Interesting. That doesn't look like an official solution. Maybe there is an api to disable stripping? Something like stripNativeLibs = off. Because this code looks like a workaround

Comment on lines +179 to +184
packagingOptions {
doNotStrip "*/arm64-v8a/*.so"
doNotStrip "*/armeabi-v7a/*.so"
doNotStrip "*/x86/*.so"
doNotStrip "*/x86_64/*.so"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
packagingOptions {
doNotStrip "*/arm64-v8a/*.so"
doNotStrip "*/armeabi-v7a/*.so"
doNotStrip "*/x86/*.so"
doNotStrip "*/x86_64/*.so"
}
packagingOptions {
doNotStrip "*/*/liborganicmaps.so"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0