Android device + console log

I’m trying to run ionic on an android device and see console logs. I’m using below but never seeing logs. Am I missing something? Or is this broken/not possible?

ionic run android -l -c -s

Version Info:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v4.3.1
Xcode version: Not installed

Use the command:
ionic run android -l -c -s --debug

Also have a look at the explanation with:
ionic help run


Thanks @slange. The added --debug flag added more output during the build, but still no logs to the ionic console. After producing the .apk I get LAUNCH SUCCESS, and then nothing.

You can inspect the webview of the app with chrome dev tools: chrome://inspect/#devices
Launch the app via ionic run android --device, wait until it is launched, then openen the previously mentioned URL in chrome and select your device.


Thanks @davidstrauss. I knew that was possible. I just thought my simple option above was the easiest, and it doesn’t seem to work.

I think thats because you need an adb connection to get console logs. AFAIK Android logcat will also print them if thats of any use to you.

Joined the website just to thank you for this comment


Thanks for this! Also joined just to upvote this comment, it helped me debug my issue.