Find appPackage and appActivity for APK File

Let’s see, How can you Find appPackage and appActivity for APK File. I hope you have already through with the Set Desired Capabilities tutorial.

In this tutorial, you have seen you need to set the Desired Capabilities for appPackage and appActivity.


While launching an application using Appium, it is required to have the appPackage and appActivity to set the Desired Capabilities. Earlier it used to be a long and tedious task to get these details from the APK file but now there are multiple easy ways to find this information. In this tutorial, we will learn different ways to find the app package and app activity.


Find appPackage and appActivity

The best and the easiest way to find the appPackage and appActvity is from the Appium itself.

  1. Click on the Appium icon in your local machine. It will launch the Appium.
  2. Click on the Andriod icon present in the menu.

Find appPackage of Android App


Here you will get the many Option.

  • Click on the first option and check the check-box of “Application Path“.

  • Click on Choose button to locate your APK file, in this case, I have given it Whatsapp apk.


You will see that Package and Launch Activity is populated with the information.

Find appPackage of Android App


As you can see in the above image, our appPackage is “com.whatsapp” and our appActivity is “com.whatsapp.Main“.


So using this way, you can find the appPackage and appActivity of your APK file or your Application.

0 Comment

Leave a Reply