多台手机都切换至飞行模式失败,报错信息如下,请问有谁知道是什么原因吗
异常信息: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\Users\guangqiangli\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s b52409d shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true' exited with code 255'; Command output: Exception occurred while executing 'broadcast': java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.AIRPLANE_MODE from pid=19414, uid=2000 at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:17293) at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:17103) at com.android.server.am.ActivityManagerService.broadcastIntentWithFeature(ActivityManagerService.java:18048) at com.android.server.am.ActivityManagerShellCommand.runSendBroadcast(ActivityManagerShellCommand.java:747) at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:199) at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98) at android.os.ShellCommand.exec(ShellCommand.java:44) at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:11464) at android.os.Binder.shellCommand(Binder.java:936) at android.os.Binder.onTransact(Binder.java:820) at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5221) at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3150) at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:171) at android.os.Binder.execTransactInternal(Binder.java:1166) at android.os.Binder.execTransact(Binder.java:1130) Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: '202107-15685', ip: '172.19.4.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.2' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {adbExecTimeout: 7200000, automationName: UIAutomator2, browserName: , chromedriverChromeMappingFile: webview/version.json, chromedriverExecutableDir: webview, databaseEnabled: false, desired: {adbExecTimeout: 7200000, automationName: UIAutomator2, browserName: , chromedriverChromeMappingFile: webview/version.json, chromedriverExecutableDir: webview, disableSuppressAccessibilityService: true, goog:chromeOptions: {androidProcess: com.tencent.mm:tools, args: [], extensions: []}, newCommandTimeout: 7200, noReset: true, platformName: android, recreateChromeDriverSessions: true, skipLogcatCapture: true, systemPort: 62766, udid: b52409d, uiautomator2ServerInstallTimeout: 600000}, deviceApiLevel: 30, deviceManufacturer: OPPO, deviceModel: PDPM00, deviceName: b52409d, deviceScreenDensity: 480, deviceScreenSize: 1080x2400, deviceUDID: b52409d, disableSuppressAccessibilityService: true, goog:chromeOptions: {androidProcess: com.tencent.mm:tools, args: [], extensions: []}, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 7200, noReset: true, pixelRatio: 3, platform: LINUX, platformName: ANDROID, platformVersion: 11, recreateChromeDriverSessions: true, skipLogcatCapture: true, statBarHeight: 115, systemPort: 62766, takesScreenshot: true, udid: b52409d, uiautomator2ServerInstallTimeout: 600000, viewportRect: {height: 2046, left: 0, top: 115, width: 1080}, warnings: {}, webStorageEnabled: false} Session ID: d734d881-7de9-440d-a619-a27696b5954b