问题
An unknown server-side error occurred while processing the command. Original error: Could not find adb.exe in C:\Users\Administrator\AppData\Local\Android\android-sdk;\platform-tools\adb.exe,C:\Users\Administrator\AppData\Local\Android\android-sdk;\emulator\adb.exe,C:\Users\Administrator\AppData\Local\Android\android-sdk;\tools\adb.exe,C:\Users\Administrator\AppData\Local\Android\android-sdk;\tools\bin\adb.exe. Do you have the Android SDK installed at 'C:\Users\Administrator\AppData\Local\Android\android-sdk;'? please help me
回答1:
This might be definitely caused by wrong folder names in the PATH variable: Please check your PATH environment variable and make sure you have (at least) the following folder (no semi colon on it):
C:\Users\Administrator\AppData\Local\Android\android-sdk\platform-tools\
回答2:
I came across same problem.
- Open the Control Panel.
- Go to Advanced System Settings.
- Click on Environment Variables.
- Now you will see User environment for hp and System Variables.
Click on new and add 2 paths:
ANDROID_HOME
Path Generally this one (C:\Users\hp\AppData\Local\Android\Sdk)
- Close all tabs of Appium.
- Open Appium.
If this is not working follow next process along with the above.
- Close all tabs of Appium.
- Open Appium.
- Click on Edit Configuration.
- Now give the Android home and Java Home path here.
- Click on Save and Restart.
- Now fill all the previous data and click on Start Session.
来源:https://stackoverflow.com/questions/51532706/an-unknown-server-side-error-occurred-while-processing-the-command-original-erro