We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48a115f + 0d6c118 commit 0185e8dCopy full SHA for 0185e8d
lib/services/android-project-service.ts
@@ -178,7 +178,7 @@ class AndroidProjectService extends projectServiceBaseLib.PlatformProjectService
178
public buildProject(projectRoot: string): IFuture<void> {
179
return (() => {
180
if(this.canUseGradle().wait()) {
181
- let buildOptions = ["buildapk"];
+ let buildOptions = ["buildapk", `-PcompileSdk=${this.getAndroidTarget().wait()}`];
182
if(this.$options.release) {
183
buildOptions.push("-Prelease");
184
buildOptions.push(`-PksPath=${this.$options.keyStorePath}`);
0 commit comments