[android-developers] Re: startMethodTracing() can't open trace files
I faced similar probelem, removing the uses-sdk... from manifest
solved it.
try removing
<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="8" />
and check.
On Mar 9, 5:50 am, Mark Murphy <mmur...@commonsware.com> wrote:
> Do not hardcode /sdcard, as that is wrong on most devices nowadays.
> Use Environment.getExternalStorageDirectory().
>
>
>
> On Tue, Mar 8, 2011 at 7:44 PM, fadden <fad...@android.com> wrote:
> > On Mar 8, 5:04 am, OldSkoolMark <m...@sublimeslime.com> wrote:
> >> I looked at the related posts, but my problem seems more basic. Full
> >> path, or no path, file extension or not, I get a "Unable to open trace
> >> file '/sdcard/traceit.trace': Permission denied" error when I run on
> >> the emulator. Do I need to 'prepare' the emulated sd card?
>
> > Use "adb shell" to get a shell in the emulator. Type "echo x > /
> > sdcard/foo", then "cat /sdcard/foo". Does that work?
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training Worldwide:http://commonsware.com/training
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home