Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4092464
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:29:41+00:00 2026-05-20T19:29:41+00:00

I am testing my code in device and it is running fine. But as

  • 0

I am testing my code in device and it is running fine. But as soon as I am adding Debug.startMethodTracing("PlaceLocator"); and Debug.stopMethodTracing(); , it is giving problem. As per log, problem is-

03-25 17:39:43.124: INFO/dalvikvm(5971): TRACE STARTED: '/sdcard/LineGraph.trace' 8192KB
03-25 17:39:43.124: ERROR/dalvikvm(5971): Unable to open trace file '/sdcard/LineGraph.trace': Permission denied
03-25 17:39:43.124: DEBUG/dalvikvm(5971): +++ active profiler count now 0
03-25 17:39:43.124: DEBUG/AndroidRuntime(5971): Shutting down VM
03-25 17:39:43.124: WARN/dalvikvm(5971): threadid=3: thread exiting with uncaught exception (group=0x4001b170)
03-25 17:39:43.124: ERROR/AndroidRuntime(5971): Uncaught handler: thread main exiting due to uncaught exception
03-25 17:39:43.131: ERROR/AndroidRuntime(5971): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.placeLocator/com.android.placeLocator.PlaceLocator}: java.lang.RuntimeException: file open failed

Here I like to mention that I have added <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> in the manifest so that system can write file in sd card. Where is the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T19:29:42+00:00Added an answer on May 20, 2026 at 7:29 pm

    Are you trying this on emulator ? If so you may want to configure your emulator with external storage.

    Or try loging into shell ‘adb shell’ and try to create a file in /sdcard/LineGraph.trace.

    You can

    echo “something” > /sdcard/LineGraph.trace

    and see if the file is created.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with WCF. My testing code is pretty simple. I call
I have some default values for testing my code, but for security reasons those
I am developing an application and testing it on my device running Android 2.2.
Hi I was doing some testing earlier and my app was running just fine.
My app is crashing when testing on the device, but not on the simulator.
I am using some C with an embedded device and currently testing some code
For some testing code, I'd like to be able to host a WCF service
Here is some testing code: <script> var movieList = new Array(); var friendList= ;
I am interested in your opinions on unit-testing code that uses Corba to communicate
Now I have a python project, I write my unit-testing code in many of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.