Skip to content

tns run android fails in case you do not have Android emulator images #3805

Closed
@rosen-vladimirov

Description

@rosen-vladimirov

Tell us about the problem

tns run and tns run android commands fail when Android environment is setup correctly, but you do not have any Android emulators.

Which platform(s) does your issue occur on?

Android

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

  • CLI: 4.2.0 (works fine in 4.1.3)
  • Cross-platform modules: not applicable
  • Runtime(s): not applicable
  • Plugin(s): not applicable

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

  1. Setup Android environment.
  2. Ensure you do not have any Android Virtual Devices in Android Studio (NOTE: it is important to really delete them, CLI tries to be clever and to find them all over your machine).
  3. Attach real Android device.
  4. Run tns run android in any project. You'll receive an error:

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions