views:

66

answers:

3

How to find out line of code where application failed in Android? (without debugging just to see crash dump)

+4  A: 

See http://developer.android.com/guide/developing/tools/adb.html

adb logcat

shurik
+1  A: 

If it's on a customers device the best way is to install a log collecting app on their phone and have them send you the log.

This is like running adb logcat on their device.

Miguel Morales
A: 

when your application stops unexpectedly you can goto LogCat and see at which point of line your application has problem...

It will be in redline With Tag CausedBy...Exception then Lineno.

Is it ok??

Thanks

Rakesh Gondaliya