From b8d1a8fe6a8a7b6c4d2209f2873f4a3eb0c52981 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sat, 5 Oct 2024 13:53:54 +0200 Subject: [PATCH] fix(android): build module with example app (#14133) * fix(android): build module with example app * Update android/cli/commands/_buildModule.js Co-authored-by: Chris Barber --------- Co-authored-by: Chris Barber --- android/cli/commands/_buildModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/cli/commands/_buildModule.js b/android/cli/commands/_buildModule.js index 144c65b7c4a..46258b9af1c 100644 --- a/android/cli/commands/_buildModule.js +++ b/android/cli/commands/_buildModule.js @@ -58,7 +58,7 @@ AndroidModuleBuilder.prototype.migrate = async function migrate() { const manifestModuleAPIVersion = this.manifest.apiversion; const manifestTemplateFile = path.join(this.platformPath, 'templates', 'module', 'default', 'template', 'android', 'manifest.ejs'); let newVersion = semver.inc(this.manifest.version, 'major'); - this.tiSdkVersion = cliSDKVersion; + this.tiSdkVersion = this.cli.sdk.name; // Determine if the "manifest" file's "apiversion" needs updating. let isApiVersionUpdateRequired = false;