Appium異常:An unknown server-side error occurred while processing the command. Original error: Could n


一、異常如下:

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 ANDROID_SDK_ROOT environment variables to the corect Android SDK root directory path.

二、解決如下:

2.1你的ANDROID_HOME環境變量沒配置好

2.1.1右鍵點擊我的電腦--->屬性,點擊高級系統設置!再點擊環境變量

2.1.2配置ANDROID_HOME(路徑填寫你sdk所在路徑!!!)

2.2把Appium關閉並以管理員身份運行重新運行

2.3看編輯配置路徑對不對有沒有配置上

注意!!!!!!!!!!!!!

如果:錯誤,無法連接到服務器;您確定要運行嗎?

一、異常如下:

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 ANDROID_SDK_ROOT environment variables to the corect Android SDK root directory path.


二、解決如下:

2.1你的ANDROID_HOME環境變量沒配置好

2.1.1右鍵點擊我的電腦--->屬性,點擊高級系統設置!再點擊環境變量

 

 

 

 

 

 

2.1.2配置ANDROID_HOME(路徑填寫你sdk所在路徑!!!)

 

 

2.2把Appium關閉並以管理員身份運行重新運行

 

2.3看編輯配置路徑對不對有沒有配置上

 

 

 

 

注意!!!!!!!!!!!!!

 

 

 

如果:錯誤,無法連接到服務器;您確定要運行嗎?

 

 

 

 

解決:

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM