Wednesday, September 1, 2010

[android-developers] DDMS Heap Dump permissions problem

I'm trying to get a heap dump from ddms in Eclipse, but it gives me
the following error:

"Unable to create HPROF file for application 'space.shhh'. Check
logcat for more information."

And here is the logcat output:

D/ddm-heap(19153): Heap dump: file='/sdcard/com.bunnies.Shhh.hprof'
E/dalvikvm(19153): hprof: can't open /sdcard/com.bunnies.Shhh.hprof-
hptemp: Perm
ission denied.

I've tried this on an actual device (HTC Desire w/ 2.1 Eclair) and an
emulator (Donut). Both gave exactly the same result as above. Also, I
do have the WRITE_EXTERNAL_STORAGE permission in the manifest. I've
searched and couldn't find anything about anyone ever having this
problem. Any ideas?

--
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