Android : How to get the package name of Android application

How to get the package name of Android application


There are multiple ways in which we can obtain the package name of Android .apk file. 
Here are the some quick ways to get the package name.


Step 1 : If its public app and available in https://play.google.com/store/apps , then search the app name and click on that particular app. you will get the package name as shown in below screenshot.



















Demo of Step 1 :






Step 2 : Install the app on your device and run the below command to get the list of packages and search for your app. 
 *(Make sure ADB configured in your path variable, click here to know how to configure adb on Windows , For Mac - you can click here )

-> adb shell pm list packages 












Demo of Step 2 :




Step 3 : Again using the Android command , you can get the details of app , package name

-> aapt dump badging <path of apk> | grep <any_relevant_search_text>

for example :
-> aapt dump badging D:\facebook.app | grep package









   ** aapt stands for Android Asset Packaging Tool .


Demo of Step 3 :




Step 4 : [This step is now obsolete, as Appium UI has changed , if you have OLD Appium setup , you can still use it ] If you have Appium installed and locate the .apk file and it will list the package name as shown in below screenshot.
























You can choose any above mentioned steps to get the package name of your app. Some other ways are also present to get the app name.But here i listed few easy way to get the package name. 

If you like this, please subscribe my Youtube channel,like ,comments & share.

5 comments:

  1. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. blackmart apk old version

    ReplyDelete
  2. There is plenty of software that you can obtain from a variety of sources such as by downloading from the internet or from the CD on the front cover of a magazine that you have purchased. You might think that all of this software is completely free and that you can do what you like with it. No matter how nice it would be if all of this software actually was free, this is rarely the case. HyFy apk

    ReplyDelete
  3. The links and resources posted by you in the blog are very useful for me! I was looking for this exact and particular information for a long time. Thanks. basic knowledge hub

    ReplyDelete
  4. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. spacedesk

    ReplyDelete

Android : How to connect your Android device over Wifi using ADB command for App debugging

How to connect your Android device over Wi-Fi using ADB command Sometimes it requires to connect your Android dev...