appium连接真实手机出现的问题
权限问题参考链接:Appium连接手机时报权限错误 requires:android.permission.WRITE_SECURE_SETTINGS我所遇到的问题:Encountered internal error running command: Error executing adbExec. Original error: ‘Command ‘‘D:\Program Files\Andr
权限问题
参考链接:
Appium连接手机时报权限错误 requires:android.permission.WRITE_SECURE_SETTINGS
我所遇到的问题:
Encountered internal error running command: Error executing adbExec. Original error: ‘Command ‘‘D:\Program Files\Android\android-sdk\platform-tools\adb.exe’ -P 5037 -s 6992c44f install -g ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk’’ exited with code 1’; Stderr: ‘adb: failed to install C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]’; Code: ‘1’
[W3C] Error: Command '‘D:\Program Files\Android\android-sdk\platform-tools\adb.exe’ -P 5037 -s 6992c44f install -g 'C:\Program
简单理解就是安装不了settings_apk-debug.apk,要开启允许usb安装应用的权限,在开发者那开启
其它相关问题参考下面链接:
Appium的一些坑问题错误解决 与 技巧集锦
更多推荐
所有评论(0)