Wednesday, January 23, 2013

Re: [android-developers] End user ANR stack trace has no line number

I made a change to my Proguard setup, but haven't figured out how to test it without publishing. Anyone know how to test the change locally?

On Tuesday, January 22, 2013 3:09:21 PM UTC-8, Mark Murphy (a Commons Guy) wrote:
http://stackoverflow.com/questions/14466838/anr-has-no-line-number

Which itself is a duplicate of:

http://stackoverflow.com/questions/4619301/proguard-retrace-tools-output

On Tue, Jan 22, 2013 at 5:58 PM, Peri Hartman <pe...@kotatko.com> wrote:
> I have received an ANR from an end user, but the top line (in my code) has
> no line number. Why is that, and how am I supposed to identify the error?
> The code is obfuscated using progaurd.
>
> More specifically, the first few lines of my stack trace are:
>
> java.lang.NullPointerException
> at com.perinote.perinote.main.MainActivity.onOptionsItemSelected(Unknown
> Source)
> at android.app.Activity.onMenuItemSelected(Activity.java:2502)
> at
> com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:950)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-d...@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.5 Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment