We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba44bf commit 88cde59Copy full SHA for 88cde59
Package.swift
@@ -39,8 +39,8 @@ let javaIncludePath = "\(javaHome)/include"
39
let javaPlatformIncludePath = "\(javaIncludePath)/win32"
40
#endif
41
42
-let ndkVersion = 27
43
-
+// Get NDK version from command line
+let ndkVersion = ProcessInfo.processInfo.environment["ANDROID_NDK_VERSION"].flatMap { UInt($0) } ?? 27
44
let ndkBinder = ndkVersion >= 29 // binder_ndk Requires NDK 29
45
46
var package = Package(
0 commit comments