1

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?

1 Answer 1

3

If you have started the emulator through Eclipse you can see the logs in Logcat.

Window -> Show View -> Android -> LogCat
Sign up to request clarification or add additional context in comments.

4 Comments

Actually I forgot to mention that I'm using only the Android SDK Manager. So that is not an option for me
Check this thread whether it helps. stackoverflow.com/questions/21332853/…
I checked that out but it seems way to complicated for me. I've downloaded the Eclipse IDE. Is is possible to somehow import my app to it?
Nevermind I figured it out my self. Now I use Eclipse(for Android) with the Android Emulator. So your answer is the correct one

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.