Running Appium reports an error:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
The specific problem is not clear yet, but Wipe Data in Android Studio can solve this problem.
Shut down first
Two select three points Wipe Data
Just run the code again