kingrukawa / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

Not having required permisson to dump. #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install ICS
2.
3.
This worked fine before I installed ICS on my handset.

What is the expected output? What do you see instead?
I expect do get a dump of the stack as I used to. Instead it says: Permission 
Denial: can't dump meminfo from from pid=11517, uid=10060 without permission 
android.permission.DUMP

I have included both types of permissions, permisson and uses-permission.

What version of the product are you using? On what operating system?
ICS (4.0.3) and ACRA 4.2.3

Please provide any additional information below.
I use silent reports with posting a form onto google docs. 

Original issue reported on code.google.com by jo...@alkit.se on 30 Dec 2011 at 10:29

GoogleCodeExporter commented 8 years ago
You should only have to add a uses-permission for the android.permission.DUMP 
permission.

Original comment by kevin.gaudin on 2 Jan 2012 at 8:57

GoogleCodeExporter commented 8 years ago
Verified that this is a problem on ICS.

Original comment by barracud...@gmail.com on 10 Jan 2012 at 10:27

GoogleCodeExporter commented 8 years ago
I added the uses-permission, but it doesn't work

Original comment by iss.por...@gmail.com on 2 Feb 2012 at 6:34

GoogleCodeExporter commented 8 years ago
I ran into the same problem when I want to get memory usage. I both tested by 
adding android.permission.DUMP at uses-permission and permissions, it did not 
work. My device installed the version Android 4.0.3.

Original comment by tangzh...@gmail.com on 21 Mar 2012 at 8:45

GoogleCodeExporter commented 8 years ago
I am also running into this issue on ICS. Anybody know why exactly this is 
happening?

Original comment by dennisd...@gmail.com on 25 Apr 2012 at 12:36

GoogleCodeExporter commented 8 years ago
I have same problem.
Any solutions on this?

Original comment by wie...@gmail.com on 8 May 2012 at 1:53

GoogleCodeExporter commented 8 years ago
Not sure it will be fixed soon, see: 
http://stackoverflow.com/questions/11113349/dumpsys-permission-denial-in-java

Original comment by fleg...@gmail.com on 26 Jun 2012 at 12:20

GoogleCodeExporter commented 8 years ago
This is the same issue as what happened recently to the READ_LOGS permission in 
JellyBean. The android dev team decided to stop granting these permissions to 
third-party apps. Only system apps can now get them.

Original comment by kevin.gaudin on 7 Sep 2012 at 9:56