raise exception_class(message, screen, stacktrace, alert_text)
> raise exception_class(message, screen, stacktrace)
E selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/Users/yangzhaoguang/software/androidSDK/android-sdk-macosx/platform-tools/adb -P 5037 -s a21d5b8d shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' exited with code 255'; Command output:
E Exception occurred while executing 'delete':
E java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
E at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProv
appium运行报错记录
于 2023-05-24 14:35:22 首次发布