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. how to save xml file in android

Hi friends,
         i am using
         import javax.xml.transform.dom.*;
         import  javax.xml.transform.*;
         import javax.xml.transform.stream.StreamResult;

                     But these imports are not recognized please give
any other alternatives to save xml file i stick here from one week plz
help me

--

2. String arrays do not allow illegal java names as values.

Does anybody know of a work around for the android xml file string
array inability to process string <item>'s that are not legal java
variable names  If not, is this not a major bug?  Why does an item in
an array need to generate a reference id anyway?  Isn't this redundant?

-- 

3. Services, Intents and Wakelocks

4. Recording from MIC (merry xmas everyone)

5. To Stop or lock an app for a particular time

6. Alarms, Receivers and Wakelocks...oh my!

7. startActivityForResult and concurrent Activities