The webapp works great. However, the nativescript app has been very difficult to get running. I finally got the android emulator to load upon running npm run android however, it coughs at this step with an error:
Building project...
Gradle build...
+ setting applicationId
+ applying user-defined configuration from C:\dev\source\UI Mock Cross Platform\angular-nativescript-webapp\nativescript\app\App_Resources\Android\app.gradle
+ adding nativescript runtime package dependency: nativescript-optimized-with-inspector
+ adding aar plugin dependency: C:\dev\source\UI Mock Cross Platform\angular-nativescript-webapp\nativescript\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar
.\nativescript\platforms\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:2: AAPT: error: attribute 'package' in <manifest> tag is not a valid Android package name: '__PACKAGE__'.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
What exactly does it want to be happy and how to do finally see the nativescript application? Do I have to open the nativescript app in the android emulator?
I solved this by manually changing the name in app.grade to match the name in package.json - the scripts had trouble keeping them in sync so this solved it.
The webapp works great. However, the nativescript app has been very difficult to get running. I finally got the android emulator to load upon running
npm run android
however, it coughs at this step with an error:What exactly does it want to be happy and how to do finally see the nativescript application? Do I have to open the nativescript app in the android emulator?