14.04.2012 1:32, Deepwinter ???????:
However when I launch the activity later in the program (where it
should be launched), I just get a black screen. I get no android
runtime errors, and onCreate on the new activity is never called. All
I get in ADB is 'Wrote stack trace to '/data/anr/traces.txt'' and then
nothing else from the app. I used adb pull to get at the/data/anr/
traces.txt but find no reference to any exceptions in that file.
Since it's an ANR rather than a crash, you shouldn't be seeing
exceptions in there.
How can I debug this problem, or what could be the cause?
The cause is something taking too long on your application's UI thread.
To debug, recreate the issue, switch to Debug perspective in Eclipse,
select your application's UI thread, and press Pause button (top-right)
to enter the debugger.
Then inspect what the UI thread is doing.
--
Kostya Vasilyev
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en