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;