How to check the value of appPackage and appActivity

I have my own apk build using the react-native app
and I want to run the test automation on android emulator
I need to set the desire cap
how I can know the value for appium.appPackage and appium.appActivity

####### Android CAPS ######

#appium.automationName=uiautomator2

appium.platformName = Android

appium.platformVersion = 10.0+

appium.deviceName = android

appium.app = /Users/mary/Desktop/my-first-app-9d35094afa584def84060dd4018f10fd-signed.apk

appium.appPackage=???

appium.appActivity =???

Thanks

Android app “Apk Info” helps you. See https://youtu.be/N7vY3cPSo8g?t=760 for detail tutorial

2 Likes

We can use adb commands, please refer to below link.