From 067dd22669c61d65f00595978c57cce20ba741b3 Mon Sep 17 00:00:00 2001 From: qiuguohua Date: Tue, 17 Dec 2024 09:24:02 +0800 Subject: [PATCH] Remove redundant settings --- scripts/native-pack-tool/source/platforms/android.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/native-pack-tool/source/platforms/android.ts b/scripts/native-pack-tool/source/platforms/android.ts index a4817fdd267..ffba227e360 100644 --- a/scripts/native-pack-tool/source/platforms/android.ts +++ b/scripts/native-pack-tool/source/platforms/android.ts @@ -21,7 +21,6 @@ export interface IAndroidParams { javaHome: string; javaPath: string; maxAspectRatio: string; - remoteUrl?: string; apiLevel: number; appABIs: string[]; keystorePassword: string; @@ -31,7 +30,6 @@ export interface IAndroidParams { inputSDK: boolean; orientation: IOrientation; - appBundle: boolean; resizeableActivity: boolean; } @@ -381,15 +379,6 @@ export class AndroidPackTool extends NativePackTool { throw new Error(`apk not found at ${apkPath}`); } fs.copyFileSync(apkPath, ps.join(destDir, apkName)); - - if (options.appBundle) { - apkName = `${this.params.projectName}-${suffix}.aab`; - apkPath = ps.join(this.outputsDir(), `bundle/${suffix}/${apkName}`); - if (!fs.existsSync(apkPath)) { - throw new Error(`instant apk not found at ${apkPath}`); - } - fs.copyFileSync(apkPath, ps.join(destDir, apkName)); - } return true; }