Repository navigation
feature: resolve the native crash handler library from split apks - #404
Merged
Merged
Conversation
KishanPRao
marked this pull request as ready for review
October 2, 2026 17:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The crash handler now finds
libbacktrace-native.soon Google Play installs, where it ships in the ABI split instead ofbase.apk.Changes
CrashHandlerConfiguration.java: same resolver as backtrace-android, takes the library path from the linker, falls back to the extracted library, the ABI split, thenbase.apk.AbiHelper.java: uses the ABI of the running process, falls back toSUPPORTED_ABIS.BacktraceCrashHandlerRunner.java: logs the library path after loading it.CrashHandlerConfigurationTest.java: new, covers each library path and the handler environment.android-native-crash.sh:INSTALL=apkinstalls the APK,INSTALL=splitinstalls the bundle like Google Play and checks the handler loaded the library from the ABI split.verify-jni-symbols.sh: checks theresolveLoadedLibraryPathexport.android.yml: builds the bundle, runs the crash check in both modes.ref: BT-7810