From e800ffffe6ff8214e96ec6d501a396d67969b99e Mon Sep 17 00:00:00 2001 From: Yang Date: Fri, 11 Oct 2024 13:55:44 +1100 Subject: [PATCH] Revert creating avd directory. (#414) --- lib/sdk-installer.js | 1 - src/sdk-installer.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/sdk-installer.js b/lib/sdk-installer.js index fe7f51385..21f355728 100644 --- a/lib/sdk-installer.js +++ b/lib/sdk-installer.js @@ -63,7 +63,6 @@ function installAndroidSdk(apiLevel, target, arch, channelId, emulatorBuild, ndk // add paths for commandline-tools and platform-tools core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_HOME}/platform-tools`); // set standard AVD path - yield io.mkdirP(`${process.env.HOME}/.android/avd`); core.exportVariable('ANDROID_AVD_HOME', `${process.env.HOME}/.android/avd`); // accept all Android SDK licenses yield exec.exec(`sh -c \\"yes | sdkmanager --licenses > /dev/null"`); diff --git a/src/sdk-installer.ts b/src/sdk-installer.ts index f87028a6f..fa0ee16fa 100644 --- a/src/sdk-installer.ts +++ b/src/sdk-installer.ts @@ -32,7 +32,6 @@ export async function installAndroidSdk(apiLevel: string, target: string, arch: core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_HOME}/platform-tools`); // set standard AVD path - await io.mkdirP(`${process.env.HOME}/.android/avd`); core.exportVariable('ANDROID_AVD_HOME', `${process.env.HOME}/.android/avd`); // accept all Android SDK licenses