To view appactivity need to use the log:adb logcat>d:/log.log
If the Android SDK is already installed
In the catalog D:\Program Files (x86) \android\android-sdk\platform-tools
Next, we'll see Adb.exe
ADB is the Android debug bridge,android Debug Bridge, development will often use
1. In command line mode, go to this directory, execute adb logcat>d:/log.log
It is a good idea to set this directory to the system environment variable path so that you can execute the ADB command in which directory
Device is turned on and will appear as if no meeting prompt waits for the device
2. Launch the Android emulator to open the app
3, stop logcat, check the log, find the appactivity;apppackage we need
CTRL + C stop log capture
View Log file: When we save Execute command adb logcat>d:/log.log , the specified path
Search Android.intent.category.LAUNCHER This is the boot application flag
From the log we found I/activitymanager:com.android.calculator2/. Calculator
. Calculator is the appactivity we're looking for.
Com.android.calculator2 is apppackage.
The above two, when doing Python development configuration is needed.
Appium Basics (iv) Find the app's appactivity and Apppackage