I'm currently experimenting with the sample-Groceries application, and after installing NativeScript and angular 2 on two different machines, I encountered the same error message when trying to execute:
tns run android --emulator
While IOS operations proceed without any issues, Android presents me with the following error:
An unhandled exception java.lang.runtimeexception unable to create application... Failed to load module: ...app/main.js
(check image) Even attempting an older API version 22 did not resolve the issue.
All solutions I came across involved modifying the app.js file, which I cannot locate.
Hoping for assistance from anyone who can provide insight.