Discover source problem of dialog crash "app has stopped"

It’s probably not related to ionic at all, but ever now and then the app just crashes popping up a dialog that states “app has stopped”. Javascript console leaves no errors behind and closes right after the app crash.

I would like to know if there is any place I can find the app stack trace or some error log in order to identify what is causing the casual crashes.

Thanks!

Can you help me understanding what this error trying to say?

BUILD FAILED
D:\Software\adt-bundle-windows-x86_64-20140702\sdk\tools\ant\build.xml:720: The
following error occurred while executing this line:
D:\Software\adt-bundle-windows-x86_64-20140702\sdk\tools\ant\build.xml:734: Comp
ile failed; see the compiler error output for details.

Total time: 3 seconds

D:\My Work\android\Mandaleshwar\platforms\android\cordova\node_modules\q\q.js:12
6
throw e;
^
Error code 1 for command: cmd with args: /s /c "ant debug -f “D:\My Work\android
\Mandaleshwar\platforms\android\build.xml” -Dout.dir=ant-build -Dgen.absolute.di
r=ant-gen"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 8

You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 8
at ChildProcess.whenDone (C:\Users\Yash Photos\AppData\Roaming\npm\node_modu
les\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess.handle.onexit (childprocess.js:823:5)