Skip to content

[fix] Support Android Studio path that JetBrains Toolbox installs to on Windows #2682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

matthargett
Copy link

Summary

The default experience on Windows has a few issues, and this one is an easy fix. Jetbrains Toolbox and the default Android Studio user installer install into a path that the doctor command doesn't look in. This causes doctor to install yet another Android Studio unnecessarily.

Test Plan

CLI now detects the Android Studio installation on my Windows 11 machine.
Added a unit test to show the fallback path is working.

Checklist

  • [x ] Documentation is up to date.
  • [x ] Follows commit message convention described in CONTRIBUTING.md.
  • For functional changes, my test plan has linked these CLI changes into a local react-native checkout (instructions).

…ath than the one detected by doctor. Support this alternate path for folks who aren't using nuget to install Android Studio.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant