androidapk

Read the package name of an Android APK


I need to get the package name of an Android APK. I have tried to unzip the APK and read the contents of the AndroidManifest.xml file but it seems that it's not a text file.

How can I extract the APK's package name?


Solution

  • aapt dump badging <path-to-apk> | grep package:\ name