Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read the package name of an Android APK

Tags:

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 seems it's not a text file.

How can I extract the APK's package name?

like image 233
Dagang Avatar asked Jun 09 '11 06:06

Dagang


People also ask

What is the name of that Android Package file?

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.

How do I find my Android Package name in Android Studio?

The package for each android application resides within the src/main/java directory of the application module.


1 Answers

aapt dump badging <path-to-apk> | grep package:\ name 
like image 87
hackbod Avatar answered Nov 15 '22 23:11

hackbod