Skip to content

fix: emulator 29 is not started by default #5201

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

Merged
merged 3 commits into from
Jan 9, 2020

Conversation

rosen-vladimirov
Copy link
Contributor

In case you have emulator with API Level 29 and other older emulators, CLI should run the latest available (29), but it doesn't.
The problem is in the parsing of the string version - '9.0.0' is always newer than '10.0.0' which corresponds to API level 29. Fix the parsing, so now tns run android will correctly start latest available emulator in case there's nothing running.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes issue #5200

@cla-bot cla-bot bot added the cla: yes label Jan 9, 2020
@rosen-vladimirov
Copy link
Contributor Author

test cli-smoke cli-run

In case you have emulator with API Level 29 and other older emulators, CLI should run the latest available (29), but it doesn't.
The problem is in the parsing of the string version - '9.0.0' is always newer than '10.0.0' which corresponds to API level 29. Fix the parsing, so now `tns run android` will correctly start latest available emulator in case there's nothing running.
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/fix-emulator-29-start branch from 71bde81 to a360ba2 Compare January 9, 2020 08:46
@rosen-vladimirov
Copy link
Contributor Author

test cli-smoke cli-run

@rosen-vladimirov
Copy link
Contributor Author

Actual build result (after resume) is here. It's green, so I'm merging the changes.

@rosen-vladimirov rosen-vladimirov merged commit b035a23 into release Jan 9, 2020
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-emulator-29-start branch January 9, 2020 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants