tags: android
I checked a lot of people who encountered this problem. Most of the appActivity startup page names were not written correctly, so here is the command to get the correct package name and startup page name:
adb shell dumpsys window windows | grep mFoc
The premise of this command is to manually open a page of the app on the simulator or real machine.
In the result, the string from the left of the slash to the space before the space is the package name, and the string from the right of the slash to the space before the space is the Activity name. Just copy them separately.

The strange thing is that I start the built-in app, such as settings and cameras, but I start a third party and report an error saying that the package name and startup page name are incorrect. After thinking about it for a long time, I feel that the compatibility problem of Android is always very weird, so I changed to a different android sdk to try again. Android 9, 8, 7 are all the same error, try 6 again, it's amazing, 5 is also good . . . emmm, okay, the problem is solved magically like this.
Finally, I also found that the AVD simulator compatibility problem in android studio is particularly strange, and it can be started normally with a third-party simulator such as Gennymotion. I am convinced.
Solution: using the command: appium-doctor checks environmental issues related SDK 1, if one occurs in the relevant X, Check your environment variables. 2, if there is no relevant folder, you might as...
table of Contents 1. The exception is as follows: An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME or A...
1.adb shell dumpsys activity activities>D:/txt1.txt found: the attribute value of appActivity Additional supplements: The attribute of deviceName is found through the adb devices command The attrib...
This exception Fellow students have experienced it. Because accustomed selenium, this anomaly appears again appium, the instinct to locate in other ways, to no avail. View adb devices are also normal....
aboutPython+APPium :UnknownError: An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of 'C:\Users\ \AppData\Local\Temp\20211020-6640-so7tsb...
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command Original error:. Invalid Version: reasons: (The server did not provide any stacktrace informa...
Article Directory the reason solution Error when running appium script (switching context)selenium.common.exceptions.WebDriverException… The error information reported by the PyCharm console is...
Error: An error occurred: Error while processing samples: Mismatch between expected number of columns:17 and columns in CSV file:25, check your jmeter.save.saveservice.* configuration or check if line...
Frequently encountered problems in the process of automated execution: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command... Sol...
1. Failure environment The physical machine, rhel7.2 system, the original system, when reinstalling the system, an "an unknown error occurred" error was reported; This problem still persists...