From 6ff587cb65b0078d92bd3985b1372b88cb9ae536 Mon Sep 17 00:00:00 2001 From: shmyga Date: Fri, 30 Oct 2026 14:52:48 +0300 Subject: [PATCH] fix: up android-ndk version --- example/haxetool.json | 5 +++-- src/impl/android.ts | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/example/haxetool.json b/example/haxetool.json index 705241d..8dd6877 100644 --- a/example/haxetool.json +++ b/example/haxetool.json @@ -2,9 +2,10 @@ "app": { "buildSystem": "openfl", "platforms": ["flash", "html5", "linux", "windows", "android"], + "haxe": "4.2.5", "libs": { - "lime": "8.0.0", - "openfl": "9.2.0", + "lime": "8.3.2", + "openfl": "9.5.2", "hxcpp": "4.2.1" }, "sources": ["src"], diff --git a/src/impl/android.ts b/src/impl/android.ts index 43d3698..1076b23 100755 --- a/src/impl/android.ts +++ b/src/impl/android.ts @@ -17,7 +17,8 @@ export class Android extends Sdk { static VERSION = Android.VERSION_7302050; static NDK_VERSION_R15C = "r15c"; - static NDK_VERSION = Android.NDK_VERSION_R15C; + static NDK_VERSION_R21E = "r21e"; + static NDK_VERSION = Android.NDK_VERSION_R21E; private ndk_version: string; private repository: string; @@ -45,7 +46,7 @@ export class Android extends Sdk { } get ndk_home(): string { - return path.join(this.path, "ndk-bundle"); + return Sdk.path('android-ndk', this.ndk_version); } get sdkmanager_bin(): string {