If you have android project, there is a easy way to fine find appPackage and appActivity Open android project (Android studio) Go to Project > Expand the project > app > src > main > Open the AndroidManifest.xml file Collect appPackage and appActivity as given example below: appPackage = com .example.ezyautomation.myapplication appActivity = com .example.ezyautomation.myapplication . MainActivity How to find app package and app activity from apk file