This error is usually displayed if the companion app is targeting a different NativeScript
version that the one your project is targeting. Can you please check the NativeScript
version in your project:
- In the Project Navigator, double-click Properties.
- Under General check the NativeScript Version value
If the project isn't targeting the latest supported version of NativeScript (1.1.2), use the dropdown to update the version. This operation will reload the project and will ensure that the NativeScript modules are updated accordingly. Then you should be able to successfully test the app's behavior in the companion app.
Note that even if you don't update the NativeScript targeted version, you would still be able to run your app in the companion app although I wouldn't recommend building a project with an outdated NativeScript version.
Let me know if you have any further questions on developing apps with NativeScript