Hi guys, I have this app I’ve been working on for a few days.
I work / commit / push, etc. and, at some point, the app stopped working on Android when using “tns run android” (but it built fine if I built a release version with keystore, etc.).
The app installed in the emulator, but it crashed at launch with a “NativeScriptException: Application entry point file not found” error. That drove me nuts for a few days… It worked fine on iOS (emulated or in the actual device), it could be built and installed on an Android device, but I couldn’t emulate and work.
I tried the usual: deleting the hooks / node_modules / platforms folders (after tns platform remove android), then tns install / tns run android.
Nothing, the problem persisted.
So I reverted to previous commits to see if I had screwed something (the most likely possibility…) I chased the error for a few minutes (hours?) until I hit a seemingly trivial change: I changed the app id on the package.json file.
Originally it was something like:
and I had changed it to
I reverted that line to its original state, ran tns run android, and everything worked just fine.
So, my actual question is: how can I change the app id and keep working? What is it breaking?
I tried disabling a few plugins, but nothing. I’m only using the side drawer from telerik and nativescript-localize from http://plugins.nativescript.org/plugin/nativescript-localize (I suspected the last one may have something to do).