Skip to content

fix: publish android debug symbols#84

Open
ovitrif wants to merge 13 commits into
mainfrom
ovi/fix-android-native-symbols
Open

fix: publish android debug symbols#84
ovitrif wants to merge 13 commits into
mainfrom
ovi/fix-android-native-symbols

Conversation

@ovitrif

@ovitrif ovitrif commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Refs synonymdev/bitkit-android#982

Related

Description

This publishes ldk-node-android 0.7.0-rc.48 with Android native libraries that keep full DWARF .debug_info metadata and 16 KB LOAD alignment for Bitkit Android release symbolication.

This PR:

  • Bumps the Synonym fork package version to 0.7.0-rc.48.
  • Regenerates Android JNI libs with cargo ndk --no-strip.
  • Uses Android NDK r28c and Android linker flags for 16 KB LOAD segment alignment.
  • Exports ANDROID_NDK_ROOT via $GITHUB_ENV after setup-ndk.
  • Fails shell and Gradle publish validation if libldk_node.so lacks .debug_info or 16 KB LOAD alignment.
  • Preserves libldk_node.so symbols through Gradle release AAR packaging.
  • Updates the Android publish workflow to regenerate bindings before Gradle build/publish.

Validation

  • Package published: com.synonym:ldk-node-android:0.7.0-rc.48
  • Package workflow run: 27030312422
  • Local validation passed: bash -n scripts/uniffi_bindgen_generate_kotlin_android.sh
  • Local validation passed: ./bindings/kotlin/ldk-node-android/gradlew --project-dir ./bindings/kotlin/ldk-node-android :lib:validateReleaseNativeLibraries
  • Local validation passed: git diff --check
  • Release-event workflow behavior should be re-verified after merge.

@ovitrif ovitrif marked this pull request as ready for review June 4, 2026 21:29
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@ovitrif ovitrif self-assigned this Jun 4, 2026
chatgpt-codex-connector[bot]

This comment was marked as resolved.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@ovitrif ovitrif requested a review from ben-kaufman June 9, 2026 21:05
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.

1 participant