Skip to content

Console.logs not working when using android emulator (v3) #2168

@mwaa

Description

@mwaa

What version of the CLI are you using? Output of ionic --version

3.0.0-beta9

Short description of the problem:

Run ionic cordova emulate android -c This only opens emulator and installs the app. Does not maintain the ionic-cli terminal as livereload does hence no connected terminal that can output console.log values.

What behavior are you expecting?

The ionic-cli terminal remains connected to emulator. Any value entered in console.log to be printed on the command line terminal.

Steps to reproduce:

  1. Ensure cordova-plugin-console is installed
  2. Run ionic cordova emulate android -c

Post the output of ionic info below please
npm (global):

@ionic/cli-utils : 1.0.0-beta0
cordova          : 6.5.0
ionic            : 3.0.0-beta9

npm (local):

@ionic/app-scripts              : 1.3.4
@ionic/cli-plugin-cordova       : 1.0.0-beta0
@ionic/cli-plugin-ionic-angular : 1.0.0-beta0
Ionic Framework                 : ionic-angular 3.0.1

System:

Node       : v6.10.2
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

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