Skip to content

Commit

Permalink
fix(doctor, sdk): windows auto-fix use current versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Jun 3, 2022
1 parent 608cc48 commit 7b0e07f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/cli-doctor/src/tools/healthchecks/androidSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ export default {
win32AutomaticFix: async ({loader}) => {
// Need a GitHub action to update automatically. See #1180
const cliToolsUrl =
'https://dl.google.com/android/repository/commandlinetools-win-6200805_latest.zip';
'https://dl.google.com/android/repository/commandlinetools-win-8512546_latest.zip';

const systemImage = 'system-images;android-28;google_apis;x86_64';
const systemImage = 'system-images;android-31;google_apis;x86_64';
// Installing 29 as well so Android Studio does not complain on first boot
const componentsToInstall = [
'platform-tools',
'build-tools;29.0.3',
'platforms;android-29',
'build-tools;31.0.0',
'platforms;android-31',
// Is 28 still needed?
'build-tools;28.0.3',
'platforms;android-28',
Expand Down Expand Up @@ -182,7 +182,7 @@ export default {

return logManualInstallation({
healthcheck: 'Android SDK',
url: 'https://reactnative.dev/docs/getting-started',
url: 'https://reactnative.dev/docs/environment-setup',
});
},
} as HealthCheckInterface;

0 comments on commit 7b0e07f

Please sign in to comment.