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
mand. 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?
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
mand. 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?
Share Improve this question edited Jul 20, 2016 at 17:01 asked Jul 20, 2016 at 13:38 user4679730user46797301 Answer
Reset to default 3If you have started the emulator through Eclipse you can see the logs in Logcat.
Window -> Show View -> Android -> LogCat
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745479472a4629499.html
评论列表(0条)