[android-developers] Re: SDK 2.0 Traceview in The Droid.
Yes. You need to add a uses-permission to your AndroidManifest.xml
file for android.permission.WRITE_EXTERNAL_STORAGE.
- dave
On Nov 20, 9:39 pm, JHandal <jhand...@gmail.com> wrote:
> HI
>
> I'm running the basic HelloActivity from the SDK 2. samples.
>
> When I try Trace view in the DDMS prespective its generate the trace
> file but can not opened.
>
> "'/sdcard/com.google.android.apps.uploader.trace': Permission denied"
>
> Do I need a permission to write in the SD card?????
>
> 4:38.380: INFO/dalvikvm(10434): Debugger has detached; object registry
> had 1 entries
> 11-20 21:34:38.380: DEBUG/dalvikvm(10434): VM cleaning up
> 11-20 21:34:38.411: ERROR/AndroidRuntime(10434): ERROR: thread attach
> failed
> 11-20 21:34:38.466: DEBUG/VoiceDialerReceiver(1225): onReceive Intent
> { act=android.intent.action.PACKAGE_ADDED
> dat=package:com.example.android.helloactivity flg=0x20000000
> cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
> 11-20 21:34:38.466: DEBUG/dalvikvm(10434): LinearAlloc 0x0 used 636716
> of 5242880 (12%)
> 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f080000
> 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f020040
> 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f020041
> 11-20 21:34:38.497: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f050000
> 11-20 21:34:38.521: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f020005
> 11-20 21:34:38.529: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f020004
> 11-20 21:34:38.529: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f0700e4
> 11-20 21:34:38.529: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f020031
> 11-20 21:34:38.529: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f020030
> 11-20 21:34:38.529: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f050000
> 11-20 21:34:38.552: INFO/ActivityManager(1015): Start proc
> com.example.android.helloactivity for activity
> com.example.android.helloactivity/.HelloActivity: pid=10441 uid=10045
> gids={1015}
> 11-20 21:34:38.599: INFO/dalvikvm(10441): Debugger thread not active,
> ignoring DDM send (t=0x41504e4d l=38)
> 11-20 21:34:38.622: INFO/dalvikvm(10441): Debugger thread not active,
> ignoring DDM send (t=0x41504e4d l=70)
> 11-20 21:34:38.708: WARN/ResourceType(1015): Resources don't contain
> package for resource number 0x7f060001
> 11-20 21:34:44.208: DEBUG/dalvikvm(2166): GC freed 1260 objects /
> 80072 bytes in 83ms
> 11-20 21:34:49.318: DEBUG/dalvikvm(1517): GC freed 256 objects / 14624
> bytes in 75ms
> 11-20 21:34:50.986: DEBUG/dalvikvm(1181): +++ active profiler count
> now 1
> 11-20 21:34:50.990: INFO/dalvikvm(1181): TRACE STARTED: '/sdcard/
> com.google.android.apps.uploader.trace' 8192KB
> 11-20 21:34:50.990: ERROR/dalvikvm(1181): Unable to open trace file '/
> sdcard/com.google.android.apps.uploader.trace': Permission denied
> 11-20 21:34:50.990: DEBUG/dalvikvm(1181): +++ active profiler count
> now 0
> 11-20 21:34:54.435: DEBUG/dalvikvm(1225): GC freed 159 objects / 10488
> bytes in 68ms
> 11-20 21:34:59.560: D
--
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