Run Android -> display console/log

Hi Folks,

I’m wondering how to launch a console when testing my app on Android (#ionic run android). Is there any configuration ? I have no log and no message helping debugging.

Many thanks,

For this you have a few options. If you’re debugging ios app, you can use safari’s remote inspection. If your using android 4.4, you can remote debug from chrome.

Anything below 4.4, you’ll need to use weinre

http://people.apache.org/~pmuellr/weinre-docs/latest/Home.html

Keep your mobile connected with ur system,
do abd shell and then logcat

or use Android Device Monitor  |  Android Studio  |  Android Developers

Apply a cordova filter on the log to only see the cordova logs

I have just done the following
Installed ADB, in mac you can install by using brew
Connect you device to the system and enabled USB debugging.
Use chrome://inspect to see all the console.log messages