![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
各类报错解决
代码运行报错,软件运行报错
杂粮煎饼
这个作者很懒,什么都没留下…
展开
-
An unknown server-side error occurred while processing the command. Original error: Error executing
Appium报错:An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command ''D:\\Program Files\\android-sdk\\platform-tools\\adb.exe' -P 5037 -s 127.0.0.1\:62001 install -r C:\\Users\\Chen原创 2022-01-12 16:41:18 · 8713 阅读 · 4 评论 -
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn‘t
使用uiautomatorviewer连接模拟器页面报错:Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!解决方法1:杀死adb服务器并重新启动它。adb kill-serveradb start-server命令面板执行这两条命令后再次连接即可解决方法2:命令面板运行:adb reconnect运行后再次点原创 2022-01-12 16:28:12 · 4787 阅读 · 1 评论 -
An unknown server-side error occurred while processing the command. Original error: Could not find a
Appium报错:An unknown server-side error occurred while processing the command. Original error: Could not find a connected Android device in 21723ms.解决方法:因为adb.exe没有正确启动 ,查看nox里面有没有nox_adb.exe ,没有可复制SDK下platformtools里面的adb.exe到nox的bin目录下,并命名为nox_adb.exe.原创 2022-01-12 16:37:22 · 6802 阅读 · 0 评论 -
DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead.
pycharm元素定位,运行报错:DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead.因为selenium 3.0以上弃用了这种方式,安装升级:pip install selenium,升级selenium后先导入from selenium.webdriver.common.by import By再将driver.find_element_b原创 2022-01-13 17:19:38 · 667 阅读 · 0 评论