当前位置:网站首页>【Appium】Failed to create session. An unknown server-side error occurred while processing the command
【Appium】Failed to create session. An unknown server-side error occurred while processing the command
2022-07-20 12:37:00 【zbossz】
报错信息:
Error: Command 'D:\\Programe\\AndroidSDK\\platform-tools\\adb.exe -P 5037 -s b88041a1 install -g 'C:\\Users\\zzy\\AppData\\Local\\Programs\\Appium Server GUI\\resources\\app\\node_modules\\appium\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'' exited with code 1
Failed to create session.
An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'D:\\Programe\\AndroidSDK\\platform-tools\\adb.exe -P 5037 -s b88041a1 install -g 'C:\\Users\\zzy\\AppData\\Local\\Programs\\Appium Server GUI\\resources\\app\\node_modules\\appium\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'' exited with code 1'; Command output: adb: failed to install C:\Users\zzy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
遇到这些错误的时候,我们要把手机开发者模式的这三个选项都打开:
因为它要安装一个软件:
第一次调试的时候手机端会弹出来个密钥确定的窗口,大概意思就是是否同意这个计算机对自己的电脑进行调试,要点同意。
然后手机一定要安装好要进行调试的软件,不然还会报错。
边栏推荐
猜你喜欢
面試真題2
2022 | Sample Efficiency Matters: A Benchmark for Practical Molecular Optimization
Get to know MySQL for the first time
强烈推荐 | 卷积神经网络综述:从基础技术到研究前景
Avec la sortie de HongMeng 3.0, la fusion Multi - écrans a progressé régulièrement, mais Google a subi une nouvelle chute
5G网络用户4.5亿,5G套餐用户超9亿,为何用户还不愿接受5G?
Audio and video learning (IX) -- RTCP protocol
开源demo| ARCall 小程序开源示例发布
Construction of Seata multilingual system
玫瑰通行证发放中!
随机推荐
The KAP function of the epidisplay package of R language calculates the proportion of the calculation consistency of the paired contingency table and the value of kappa statistics (total consistency,
第2讲 Hi3861的WiFi实验-API-3
不妨给“云面试”多些辅导
pytorch常见问题整理与解决方法
Redis Learning notes (1) - Power Node of Station B
Px4 module design 10: Px4 startup process
The error between facial reconstruction and facial posture estimation is only 10 degrees
Without the life of speculative stock, the best policy is to give up wisely and decisively
1260. 二维网格迁移 : 简单构造模拟题
面试真题2
盒马两大供应链中心启用 多业态商品创新研发“有后台”
超实用转型攻略!《2022央国企云原生落地实用指南》重磅发布(附下载链接)
IReport导出PDF字体加粗失效
打通链上链下,构建全链条可信价值生态—长安链预言机
PX4模块设计之十:PX4启动过程
Disjoint Set class (union search set)
[golang] go parse XMIND
5G网络用户4.5亿,5G套餐用户超9亿,为何用户还不愿接受5G?
Sax解析xml及pull解析xml
Uiscrollview and uipagecontrol realize startup sliding diagram [easy to understand]