Skip to content

No livesync with Android, because "No such file or directory" error #2546

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
Humberd opened this issue Feb 15, 2017 · 1 comment
Closed

No livesync with Android, because "No such file or directory" error #2546

Humberd opened this issue Feb 15, 2017 · 1 comment
Labels

Comments

@Humberd
Copy link

Humberd commented Feb 15, 2017

I'm doing this tutorial and the only commands I used were:

  • tns create HelloWorld --template nativescript-template-tutorial
  • tns run android

The app starts ok, but whan I edit any file the emulator doesn't show changes. Here is what shows the console:

Executing before-prepare hook from F:\Repositories\WebStorm\HelloWorld\hooks\before-prepare\nativescript-dev-android-snapshot.js
Preparing project...
Project successfully prepared (android)
Executing after-prepare hook from F:\Repositories\WebStorm\HelloWorld\hooks\after-prepare\nativescript-dev-android-snapshot.js
Transferring project files...
Unable to sync files. Error is: ENOENT: no such file or directory, stat 'F:\Repositories\WebStorm\HelloWorld\platforms\android\src\main\assets\app\main-page.js___jb_tmp___'

@rosen-vladimirov
Copy link
Contributor

Hey @Humberd ,
This is a reported issue in our 2.5.0 release. You can find more information here.
We are preparing 2.5.1 release, that should fix this problem. Meanwhile you can try installing our next version, which is published from CLI's master branch:

npm i -g nativescript@next

Please note that @next is a development release and you may face other issues, but we'll be glad if you can give it a try and see if it fixes your issue.

I'm closing this issue as it's a duplicate. We can continue the communication in the other thread.

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

No branches or pull requests

2 participants