I know that this question has been answered HERE, but it was a while ago and since no good answer has been given and it might have changed, i will ask again:
Is there some tool or IDE plugin
that analyzes either source code or APK
to see if the permissions are being used anywhere in the app. There are lot of libraries, and fairly large project as well so it would not be wise to remove some permission and running smoke test
on the app since it could be used at some subtle places.
For example, I do not know why we have permission READ_SMS
, but if we remove it since there is no obvious use of it, it could later cause a crash.