Sunday, October 18, 2009

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

Sorry, thought I had searched enough; immediately after posting I
found my answer:

http://groups.google.com/group/android-developers/browse_thread/thread/207fee67cfe8fde0/6dc073718f57fcf2?lnk=gst&q=Debug.startMethodTracing%28%29#6dc073718f57fcf2

On Oct 18, 3:32 pm, "bwilliam...@gmail.com" <bwilliam...@gmail.com>
wrote:
> 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