Skip to content

Added support to upload debug symbols in the Android App Bundle (AAB) on the Play Store. - #4480

Merged
kelson42 merged 4 commits into
mainfrom
add_debug_symbol
Oct 29, 2025
Merged

Added support to upload debug symbols in the Android App Bundle (AAB) on the Play Store.#4480
kelson42 merged 4 commits into
mainfrom
add_debug_symbol

Conversation

@MohitMaliFtechiz

@MohitMaliFtechiz MohitMaliFtechiz commented Oct 28, 2025

Copy link
Copy Markdown
Collaborator

See kiwix/java-libkiwix#123

  • Enabled the NDK to include debug symbols in the AAB. This option only applies to AABs — APKs do not support embedding debug symbols, and they must be uploaded manually. However, since we primarily upload AABs (only two custom apps still use APKs).
  • We have used the same NDK version that we are using in java-libkiwix. This option is not working with Gradle's default NDK. So, due to this, we have added the NDK to our project.
  • Refactored the CI/CD pipeline to automatically download the required NDK version. This ensures that when publishing the AAB, the debug symbols are correctly included; otherwise, Gradle skips embedding them.
  • Cleaning up the disk space before running the test cases on the emulator, since it was giving the "No space left on device" error while running the Play Store variant test cases.

Kiwix app bundle

Screenshot from 2025-10-28 15-24-59

Custom app bundle

Screenshot from 2025-10-28 15-33-26

@MohitMaliFtechiz
MohitMaliFtechiz marked this pull request as draft October 28, 2025 13:07
@codecov

codecov Bot commented Oct 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.56%. Comparing base (eba601f) to head (13ace53).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4480      +/-   ##
============================================
- Coverage     58.65%   58.56%   -0.10%     
+ Complexity     1475     1465      -10     
============================================
  Files           327      327              
  Lines         17045    17045              
  Branches       2109     2109              
============================================
- Hits           9998     9982      -16     
- Misses         5648     5664      +16     
  Partials       1399     1399              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MohitMaliFtechiz
MohitMaliFtechiz force-pushed the add_debug_symbol branch 2 times, most recently from 2ae0dc0 to 6a38a5b Compare October 29, 2025 09:33
@MohitMaliFtechiz
MohitMaliFtechiz marked this pull request as ready for review October 29, 2025 12:18
… on the Play Store.

* Enabled the `NDK` to include debug symbols in the `AAB`. This option only applies to AABs — APKs do not support embedding debug symbols, and they must be uploaded manually. However, since we primarily upload AABs (only two custom apps still use APKs).
* We have used the same `NDK` version that we are using in `java-libkiwix`. This option is not working with Gradle's default NDK. So, due to this, we have added the NDK to our project.
* Refactored the CI/CD pipeline to automatically download the required `NDK` version. This ensures that when publishing the `AAB`, the debug symbols are correctly included; otherwise, Gradle skips embedding them.
…lding the AAB and not for running the test cases. Gradle will automatically fall back to its default NDK when needed.
…, since it gives the "No space left on device" error while running the playStore variant test cases.
@kelson42
kelson42 merged commit 02de247 into main Oct 29, 2025
33 checks passed
@kelson42
kelson42 deleted the add_debug_symbol branch October 29, 2025 13:52
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