Tommy Cook
Tommy Cook

Reputation: 13

Get Package Name from APK-comamnd

Hi I have a android mobile. I want to know the .apk file name of the package being installed on my phone.

I want the command which will serve my purpose.

Upvotes: 0

Views: 182

Answers (1)

Prashant Singh
Prashant Singh

Reputation: 151

pm list packages -f

This command will give you the exact path of the apk related to the installed package.

If you want apk of a certain package then apply grep to the output like this:

pm list packages -f | grep "package.name"

Upvotes: 1

Related Questions