Skip to content

Command tns run android does not launch app on AVD #3111

@tjvantoll

Description

@tjvantoll

Tell us about the problem

This problem is only occurring on a specific app, specifically this one: https://github.com/tjvantoll/nadidas. I do not have this problem with the default {N} template. I’m only flagging this now because this is the app we plan on using as part of the {N} DevDay keynote demo.

If I use tns run android the CLI is able to successfully build this app; it successfully installs the .apk file; but it no longer launches the app on my AVD. I have to manually go into the apps list and launch the app.

This same behavior occurs during LiveSync. The watcher detects my change, but the CLI is unable to relaunch my app to show that change.

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

Please tell us how to recreate the issue in as much detail as possible.

For me it’s as simple as cloning the repo and running tns run android. It’s quite possible that it’s something specific about my machine that’s causing the problem.

Here’s a full log of tns run android --log trace: https://gist.github.com/tjvantoll/b550885d0fc66edb30b4bed482309671

Any help would be greatly appreciated.

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