Run android console log not working


#1

Hi, I run the next command: ionic cordova run android -l -c
The expected behavior is the app to run in a connected device and the app console to output in the os terminal (Ubuntu in my case). The problem is that the console does not output anywhere.
I tried in a new project and nothing changes.
Ideas?

ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.2.1 (/home/pablo/.nvm/versions/node/v8.12.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.13
   @angular-devkit/build-angular : 0.8.6
   @angular-devkit/schematics    : 0.8.6
   @angular/cli                  : 6.2.6
   @ionic/angular-toolkit        : 1.0.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.1, browser 5.0.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/home/pablo/Android/Sdk)
   NodeJS            : v8.12.0 (/home/pablo/.nvm/versions/node/v8.12.0/bin/node)
   npm               : 6.4.1
   OS                : Linux 4.18


#2

ok, i found the ionic 4 docs.


Seems that ionic 4 doesn’t have the -c flag anymore. That’s accually pretty bad :frowning: