Dagang Dagang - 1 year ago 84
Android Question

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 contents of

AndroidManifest.xml
, but it seems it's not a text file.

Is there a tool I can use to extract the APK's package name?

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