Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get android application name from apk file

Tags:

android

How do I get the android application name from a apk file programatically outside an android environment? I have tried parsing androidmanifest.xml but it only shows the package name ( which may not be very informative at times)

like image 204
paradox Avatar asked Oct 08 '22 18:10

paradox


1 Answers

If you are using Linux, this command will give you the application name:

aapt dump badging your.apk | sed -n "s/^application-label:'\(.*\)'/\1/p"

You'll have to install aapt first.

like image 87
xhienne Avatar answered Oct 12 '22 12:10

xhienne