appium-2: Get the startup activity of the app

1) Point the current path to the build-tools directory of the sdk, and put the apk file in it: Execute the following command: .\aapt dump badging xxx.apk command to obtain the information in the package. Note that the startup class name cannot be wrong with a single letter

Note the launchable-activity property

2) There is no apk, the application has been installed to the phone or virtual machine. You can use the logcat command

.Clear the logcat content, use the command adb logcat -c

.Start logcat, use the command adb logcat ActivityManager:I *:s

 

 

http://www.up123.cc/22.html

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326550709&siteId=291194637