Skip to content

tns run android does not start the app sometimes after file changes #2576

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

Closed
dtopuzov opened this issue Feb 27, 2017 · 6 comments
Closed

tns run android does not start the app sometimes after file changes #2576

dtopuzov opened this issue Feb 27, 2017 · 6 comments

Comments

@dtopuzov
Copy link
Contributor

Scenario:

  1. Open MyApp in some editor (in my case VSCode)
  2. tns run android --path MyApp
  3. Start editing some JS, XML, CSS
  4. After livesync sometimes app does not start automatically (it works if I manual start it)

Will write again when I have more logs or repro steps.

This bug makes CLI tests flaky and we can not rely on them.
This is critical!

@ghost
Copy link

ghost commented Feb 27, 2017

yes same problem here tns run android doesn't start emulator after upgrade to 2.5.2 , it was working in 2.5.1 but now not open the app automatically

@Plamen5kov
Copy link
Contributor

After livesync sometimes app does not start automatically

@dtopuzov, does this happen when you run tns run android command again, or just by changing and saving a file from the source code?

@nicoabie
Copy link

@Plamen5kov I'm changing files and I have to remove the platform and add it again for the changes to get to the device.
And I have to start the app manually on the emulator

@Plamen5kov
Copy link
Contributor

@nicoabie the PR I've linked should fix your problem.

@Plamen5kov
Copy link
Contributor

Closing as duplicate of: #2486

@eksahin
Copy link

eksahin commented Mar 9, 2017

Have you ever tried to run with emulator -avd. Because i realized i did not set the ANDROID_SDK_ROOT enviroment.Emulator started to work automatically after that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants