Sunday, October 18, 2009

[android-developers] Debug.startMethodTracing() - can't dump file

I'm running into a terrible, terrible problem - an activity that uses
a surfaceview takes somewhere between 3 and 75 seconds before the
surfaceCreated method is called.

I'd like to use Traceview to figure out what's taking so long, but I
get an exception when Debug.startMethodTracing() is called:

First there's an error message:

E/dalvikvm( 6286): Unable to open trace file '/sdcard/dmtrace.trace':
Permission denied

Then there's an exception (file open failed).

Does this have to do with not having root access on ADP1's any more?
How do I get that trace to work?

Thanks,
Brian
--~--~---------~--~----~------------~-------~--~----~
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