-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
In this part where you define the apk in the minimal example:
const apk = android_sdk.createApk(.{
.api_level = .android15,
.build_tools_version = "35.0.1",
.ndk_version = "29.0.13599879",
});
This feels very rigid. A comment or an error if it can't find the ndk would be helpful like I've done with my emscripten template:
const sysroot_include = b.pathJoin(&.{ b.sysroot.?, "include" });
var dir = std.fs.openDirAbsolute(sysroot_include, std.fs.Dir.OpenDirOptions{ .access_sub_paths = true, .no_follow = true }) catch @panic("No emscripten cache. Generate it!"); // <--- This generates the error if the emscripten sysroot include directory can't be found
dir.close();
wasm.addSystemIncludePath(.{ .cwd_relative = sysroot_include });
silbinarywolf
Metadata
Metadata
Assignees
Labels
No labels