Debug.startMethodTracing InternalError: file open failed

by William » Sun, 29 Mar 2009 05:36:04 GMT


Sponsored Links
 i put this in my oncreate method and get an error, file open failed.
what am i doing wrong?
Debug.startMethodTracing("rufio");


03-28 17:32:31.402: ERROR/AndroidRuntime(11951): Uncaught handler:
thread main exiting due to uncaught exception
03-28 17:32:31.432: ERROR/AndroidRuntime(11951):
java.lang.InternalError: file open failed
03-28 17:32:31.432: ERROR/AndroidRuntime(11951):     at
dalvik.system.VMDebug.startMethodTracing(Native Method)
03-28 17:32:31.432: ERROR/AndroidRuntime(11951):     at
android.os.Debug.startMethodTracing(Debug.java:357)
03-28 17:32:31.432: ERROR/AndroidRuntime(11951):     at
android.os.Debug.startMethodTracing(Debug.java:305)

--~--~---------~--~----~------------~-------~--~----~



Debug.startMethodTracing InternalError: file open failed

by fadden » Tue, 31 Mar 2009 04:08:02 GMT


 


Give it a full path, like "/sdcard/rufio".

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Folder under raw or drawable

Hi. I would like to create a folder (s) under raw or/and drawable
folders.
Is it even possible and why not? According to the documentation it
seams that folder names are limited to a specific set of names which
have to do with phone settings and/or internationalisation, like:
http://developer.android.com/guide/topics/resources/resources-i18n.html#CreatingResources

I would like to be able to create sub folders in raw and drawable
resource locations, as it allows for better management of large amount
of images/files, and/or easier transforming of Java desktop
applications to Android applications, and back. Is anyone thinking to
support this feature.
I hope it is not only me having problems doing it. Can someone answer
why is not allowed to have sub folders other then the default ones?

Best Regards,
BORO
--~--~---------~--~----~------------~-------~--~----~

2. Suggestion for placing buttons

Hi,

I am not able to find out the perfect layout(viewgroup) to place four
buttons as shown in the attached image.

Basically, i want to place four buttons near the top/left/bottom/right edge
of the screen.  AbsoluteLayout helped, but it is deprecated (It is also
better to avoid AbsoluteLayout as it is not very flexible for orientation
changes)

Any pointers will be of great help to me.

Thank you,
Vignesh

--~--~---------~--~----~------------~-------~--~----~

3. how to avoid activity restart at keyboard open or close

4. how to avoid activity restart at keyboard open or close

5. Protocol Stack

6. IMplementing flood fill algorithm on the bitmap

7. " Creating a file in AFS with NativeBinary and Android App"