Conversation
📝 WalkthroughRelease Notes - NDK Installation FeatureFeatures
Logging
|
| Cohort / File(s) | Summary |
|---|---|
NDK Installation Logic app/src/main/java/com/itsaky/androidide/assets/BaseAssetsInstaller.kt |
New private installNdk() method implements tar.xz extraction via bash command with 2-minute timeout, output logging, and archive cleanup. Logger property added. postInstall() now calls installNdk(). |
Progress Display app/src/main/java/com/itsaky/androidide/assets/AssetsInstallationHelper.kt |
Progress snapshots at 99%+ completion show static "Post install processing in progress...." message instead of multi-line per-entry status lines. Unused import removed. |
Expected Size Configuration app/src/main/java/com/itsaky/androidide/assets/BundledAssetsInstaller.kt, SplitAssetsInstaller.kt |
Android SDK expected sizes updated: BundledAssetsInstaller from 53226785L to 254814511L, SplitAssetsInstaller from 85024182L to 286625871L. |
Environment Setup common/src/main/java/com/itsaky/androidide/utils/Environment.java |
New public constant NDK_TAR_XZ ("ndk-cmake.tar.xz") and static field NDK_DIR added. Environment.init() assigns NDK_DIR to ANDROID_HOME/ndk. |
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
- ADFA-2358: fix IllegalArgumentException: Invalid path: /data/data/com.itsaky.androidide/files #785 — Modifies same core components (Environment.init and AssetsInstallationHelper) including NDK fields and storage-access checks
- ADFA-2446 | Improve terminal bootstrap install resilience and user messaging #812 — Updates progress and failure message handling in AssetsInstallationHelper
Suggested reviewers
- itsaky-adfa
- jatezzz
- Daniel-ADFA
Poem
🐰 Hops of joy through NDK paths so true,
Assets bundle up, fresh and new!
Progress bars shine at ninety-nine,
Extraction flows in timed design,
Installation magic, swift and divine! ✨
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Docstring Coverage | Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. | Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (2 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title 'ndk installation' accurately reflects the main objective of the PR, which introduces NDK installation functionality across multiple files. |
| Description check | ✅ Passed | The description 'ndk installation only' is directly related to the changeset, clearly indicating the scope of changes is limited to NDK installation features. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing touches
- 📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
ndk installation only