Skip to content

Error running new app based on Hello World template #8769

@pcaridade-icg

Description

@pcaridade-icg

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.8.0
  • Cross-platform modules: 6.5.13
  • Android Runtime: 6.5.0
  • iOS Runtime: 6.5.0
  • Plugin(s):

Describe the bug
When I run "tns run android" the new app (Hello World) on a Android emulator and then hit the [back] button to close de app I've got a list of errors like "An uncaught Exception ocurred on the main thread", "Unable to destroy activity".
I think that something like this has already been reported almost two months ago:
#8667

To Reproduce
Create a new app (angular) based on the Hello World template.
Run it "tns run android" on a Android emulator
Hit the [back] button to close the app
CRASH screen

Expected behavior
The app should close without any errors

Sample project
Is the Hello World template "as-is" without any changes

Additional context
I've been working with Angular in the last two years (since Angular 6) without any problems even when upgrading to new versions. I would love to use Nativescript + Angular in order to create Android and iOS apps, but if I can not run a template "Hello World" app ["entry point" for everyone trying to learn Nativescript] how can I think about create a real app?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions