This question is locked. New answers and comments are not allowed.
Hi,
I'm debugging on an Android device (Moto G3, Marshmallow) connected via USB, using the CLI, of course, and PHPStorm as IDE. I deploy the app with 'appbuilder deploy android --debug', then (successfully) activate the live sync with 'appbuilder livesync --watch'. Nonetheless, as soon as I save changes on the computer (MAC, El Capitan) I get this error:
TypeError: Cannot read property 'wait' of null
at FiberFuture.Future.wait (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:535:15)
at /usr/local/lib/node_modules/appbuilder/lib/common/services/usb-livesync-service-base.js:61:42
at /usr/local/lib/node_modules/appbuilder/lib/common/fiber-bootstrap.js:10:13
- - - - -
at /usr/local/lib/node_modules/appbuilder/lib/common/services/usb-livesync-service-base.js:268:68
at Function.settle (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:249:26)
at FiberFuture.Future.wait (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:534:10)
at /usr/local/lib/node_modules/appbuilder/lib/common/services/usb-livesync-service-base.js:61:42
at /usr/local/lib/node_modules/appbuilder/lib/common/fiber-bootstrap.js:10:13
Suggestions? Am I doing something wrong?
In addition, even if I don't explicitly activate the livesync, when I tap the three fingers on the screen the app updates, but not to the code I've modified on my computer. Where does it take the code then?
Thanks,
Stefano