I'm building an app for Android using Cordova & html,JS. And using the Android emulator from the plain SDK Manager. I seem to have a lot of isues with my code, but I can't figure out what. So I need to check for errors in the console log like we do with browsers.
The only thing I've managed to do is use is the adb -e logcat > logcat.txt
command. Yet the output file is way too convoluted for me.
And when I filter the output using
adb -e logcat > logcat.txt io.cordova.app:D *:S
,
the output file contains only
--------- beginning of main
--------- beginning of system
What can I do about it? Is there any other way learning the errors of my code?