-
-
Notifications
You must be signed in to change notification settings - Fork 197
emulate android command does not detect failed to start emulator #645
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
Comments
The technical issue is that emulator.exe starts a sub-process which does the actual work and immediately stops with success exit code. We cannot simply check for exit code. In Android Studio Beta 5 and accompanying SDK emulator.exe stays alive and we can check its exit code. |
{N} CLI in master with latest Android tooling, Intel HAXM not installed and x86 emulator: C:\Users\topuzov>tns emulate android --path TestApp When run with --log trace:
Not very good user experience. |
No infinite wait with {N} CLI 3.0.0. Tested with following steps:
After timeout now we say:
|
Sometimes the emulator cannot start or exits unexpectedly. For example, there may be a configuration issue. In this case, the CLI waits until a timeout expires, which in some case may be infinite.
The text was updated successfully, but these errors were encountered: