Replace the android.defaultConfig.applicationId in build.gradle with the package/unique_name.

This commit is contained in:
fhuya
2019-12-12 19:52:57 -05:00
parent edf2ed5e50
commit 50ab6decfe
3 changed files with 16 additions and 3 deletions
+5 -2
View File
@@ -1984,10 +1984,13 @@ public:
build_command = build_path.plus_file(build_command);
String package_name = get_package_name(p_preset->get("package/unique_name"));
List<String> cmdline;
cmdline.push_back("build");
cmdline.push_back("-p");
cmdline.push_back(build_path);
cmdline.push_back("-Pexport_package_name=" + package_name); // argument to specify the package name.
cmdline.push_back("-p"); // argument to specify the start directory.
cmdline.push_back(build_path); // start directory.
/*{ used for debug
int ec;
String pipe;