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.
1 parent 77746fe commit 0d6c118Copy full SHA for 0d6c118
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