I want to read the requested permissions of an .apk file on the computer (android sdk is installed) via command line.
$ android read-permissions /path/to/someapp.apk
I know this is possible, I just cant find the proper command.
If I'm interpreting "on the computer" correctly to mean "I want to use the command line on my computer to read an .apk file's permissions" then you can do that with
If you mean that the .apk is on the device, then I'm not aware of a way to do this aside from pulling it and running
On the device it will probably be easier to look for the relevant section in
(which can be read, even though its directory cannot be browsed or listed) as this is a text file, while the AndroidManifest.xml in an apk is in a compressed format.
There is code around on the net for interpreting the compressed manifests on the device, but that's a bit more complicated.