I need to get the package name of an android apk. I have tried to unzip the apk and check the AndroidManifest.xml, but seems it's not a text file. Is there tool I can use? Thanks!

link|flag

71% accept rate

3 Answers

You can install the apk on your phone, then

connect using adb, you can launch adb shell and execute pm list packages -f, which shows the package name for each installed apk.

This taken from Find package name for Android apps to use Intent to launch Market app from web

link|flag

aapt dump badging <path-to-apk>

link|flag

If you just want to know package name, run adb logcat, launch the activity you want , you will get a hint on the package name.

link|flag

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.