Skip to content

Commit d775a89

Browse files
authored
No need to install platforms.
Mostly application will use different SDK platform.
1 parent 7486014 commit d775a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdk-installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function installAndroidSdk(apiLevel: string, target: string, arch:
4141

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

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

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

0 commit comments

Comments
 (0)