From b369e91ab8a9423b4e143332e91125a46a7dafdb Mon Sep 17 00:00:00 2001 From: Adrian Niculescu <15037449+adrian-niculescu@users.noreply.github.com> Date: Sat, 13 Jun 2026 22:26:51 +0300 Subject: [PATCH] fix: propagate custom ndkVersion to the runtime build Inside the android {} block names resolve delegate-first, so the `ndkVersion ndkVersion` argument reads the extension's own (empty) value and assigns it back to itself. The -PndkVersion project property never reaches AGP. Read it explicitly with project.ndkVersion so the configured NDK is actually applied. --- test-app/runtime/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-app/runtime/build.gradle b/test-app/runtime/build.gradle index 212407497..f48b814d7 100644 --- a/test-app/runtime/build.gradle +++ b/test-app/runtime/build.gradle @@ -87,7 +87,7 @@ android { } if (hasNdkVersion) { - ndkVersion ndkVersion + ndkVersion project.ndkVersion } else { ndkVersion defaultNdkVersion }