admin管理员组文章数量:1426617
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
本文标签: javascriptCordovaHow to see errors and consolelog in Android EmulatorStack Overflow
版权声明:本文标题:javascript - Cordova - How to see errors and console.log in Android Emulator - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745479472a2660115.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论