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 seems it's not a text file.
How can I extract the APK's package name?
The Android Package with the file extension apk is the file format used by the Android operating system, and a number of other Android-based operating systems for distribution and installation of mobile apps, mobile games and middleware.
The package for each android application resides within the src/main/java directory of the application module.
aapt dump badging <path-to-apk> | grep package:\ name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With