Skip to content

Commit

Permalink
No need to install platforms.
Browse files Browse the repository at this point in the history
Mostly application will use different SDK platform.
  • Loading branch information
yujincheng08 committed Feb 9, 2023
1 parent 7486014 commit d775a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk-installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function installAndroidSdk(apiLevel: string, target: string, arch:

console.log('Installing latest build tools, platform tools, and platform.');

await exec.exec(`sh -c \\"sdkmanager --install 'build-tools;${BUILD_TOOLS_VERSION}' platform-tools 'platforms;android-${apiLevel}' > /dev/null"`);
await exec.exec(`sh -c \\"sdkmanager --install 'build-tools;${BUILD_TOOLS_VERSION}' platform-tools > /dev/null"`);

console.log('Installing latest emulator.');
await exec.exec(`sh -c \\"sdkmanager --install emulator --channel=${channelId} > /dev/null"`);
Expand Down

0 comments on commit d775a89

Please sign in to comment.