How to find out line of code where application failed in Android? (without debugging just 开发者_如何学Goto see crash dump)
See http://developer.android.com/guide/developing/tools/adb.html
adb logcat
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.
When your application stops unexpectedly, you can go to LogCat and see at which point of line your application has problem.
It will be in redline With Tag
CausedBy...Exception then Lineno.
精彩评论