Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Oct 11, 2024
1 parent 1984ae0 commit 4e2ec73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sdk-installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ export async function installAndroidSdk(apiLevel: string, target: string, arch:
await io.mv(`${cmdlineToolsPath}/cmdline-tools`, `${cmdlineToolsPath}/latest`);
}

// print all folders under cmdline-tools
await exec.exec(`ls -l ${cmdlineToolsPath}`);

// add paths for commandline-tools and platform-tools
core.addPath(`${cmdlineToolsPath}/12.0:${cmdlineToolsPath}/12.0/bin:${process.env.ANDROID_HOME}/platform-tools`);
core.addPath(`${cmdlineToolsPath}/latest:${cmdlineToolsPath}/latest/bin:${process.env.ANDROID_HOME}/platform-tools`);

// set standard AVD path
core.exportVariable('ANDROID_AVD_HOME', `${process.env.HOME}/.android/avd`);
Expand Down

0 comments on commit 4e2ec73

Please sign in to comment.