From 48d6d9bc29dd722357f993b41485d9ce5717e1d3 Mon Sep 17 00:00:00 2001 From: Joseph Werle Date: Thu, 23 Nov 2023 07:42:44 -0400 Subject: [PATCH] fix(src/cli/cli.cc): '_' needs to be '_1' for android JNI package name --- src/cli/cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/cli.cc b/src/cli/cli.cc index fee2d52021..079eb7ac6a 100644 --- a/src/cli/cli.cc +++ b/src/cli/cli.cc @@ -2960,7 +2960,7 @@ int main (const int argc, const char* argv[]) { if (flagBuildForAndroid) { auto bundle_path = Path(replace(settings["android_bundle_identifier"], "\\.", "/")).make_preferred(); - auto bundle_path_underscored = replace(settings["android_bundle_identifier"], "\\.", "_"); + auto bundle_path_underscored = replace(replace(settings["android_bundle_identifier"], "_", "_1"), "\\.", "_"); auto output = paths.platformSpecificOutputPath; auto app = output / "app";