I am trying to run the profile command using the am option:

adb shell am profile <pid> start <filename>

The process has permissions to write to sdcard. Even then, I am
getting the following error:

java.lang.SecurityException: Process not debuggable:
ProcessRecord{xxxxxx/xx}

This app has multiple activities and threads. How do I deal with this?
I do not have the source code for this app and hence I do not have the
manifest.

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to