Skip to content

TNS 5.x CLI doesn't support TNS 2 running #4530

Closed
@NathanaelA

Description

@NathanaelA

Environment

  • CLI: 5.3.1
  • Cross-platform modules: 2.5.1
  • Android Runtime: 3.01
  • Plugin(s): (lots)

Describe the bug
Doing a tns run android actually does start the emulator, builds the apk; but never installs the apk nor does the watching/syncing work.
It displays:

  - Starting compilation in watch mode...
  - Found 0 errors. Watching for file changes.

So at this point the only way to update the APK with new code; is to manually kill the platforms/android folder; rebuild and then manually install it.

To Reproduce

  1. Create a TNS 2.x app.
  2. Run it with a modern CLI.

Expected behavior
Everything continues to work

Additional context
This might be something that could be considered a corner case; not sure how many people have to rebuild any older apps; so this might be a bug left just so people can find it.

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