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?

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
03-28 17:32:31.432: ERROR/AndroidRuntime(11951):     at


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. Message Dialog appears, The market billing service is not available, Dungeons Sample

Currently i am going to implement In-app Billing for android app.
Before it i am trying to run sample "Dungeons". Each time when i run
this sample, it shows dialog with tilte "Can't make purchase"
and body message"The market billing service is not available at this
time. You can continue to use this app but you won't be able to make

Android market version on my device is 2.3.4.

How to make working this sample successfully.

Kind Regards,
Muhammad Rashid


2. ProgressDialog not showing


I have my main class which is called when the app is 
launched. extends the TabActivity.
I have 3 other classes, one for each tab, and at the moment these 3 
classes just display text or graphics.

In the code is broken down as follows.   Trying to 
simply it but can provide full code if needed:

    Set up Tabs
    Call initApp

    Setup options Menu

    ProgressDialog dialog =, 
"","Initializing. Please wait...", true);

    Set up some variables
    Obtain deviceID
    Checks app name, and determines if this is the trial version or the 
full version
    Makes a call to my server and returns a JSONObject which is then 
decoded and certain items checked.
    If the app is the trial version AND the trial date has passed throw 
up an Alert with a message. Only option is to click OK which closes the App.
    Otherwise, if the app is the trial version through up an alert 
showing when the trial expires.


That's it for now.  Very crude but working.  My problem is that the 
ProgressDialog never shows up, and all the code in initApp is done 
against a black screen, even though the onCreate sets the tab default to 
0, which has a graphical backdrop.  Probably not doing this in the 
correct way, but I was hoping for the ProgressDialog to display (againt 
Tab(0) which has the background image) whilst it performs the code in 
initApp.  The call to my server is quick, but it's possible it can take 
upwards of 10-20 seconds depending upon connectivity and so wanted to at 
least show that something was happening.  Having a black screen is not 
great at all.

Would appreciate any help, and again, I can provide more detailed code 
if needed.


David Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
<> Golf Caddie 
<> | Golf Caddie Forum 
<> | Golf Caddie FAQ 
<> by DTW-Consulting, Inc.


<<inline: GClogo.png>>

3. OOT : to Fajar "domba bujel" Nugroho..Turut berduka

4. SSL handshake failu for HttpsURLConnection behind the proxy.

5. Starred issues not taking priority for developers

6. Guide for porting?

7. Format SD card