adb shell wm size 1080x1920
Exception occurred while executing 'size':
java.lang.SecurityException: Must hold permission android.permission.WRITE_SECURE_SETTINGS
at com.android.server.wm.WindowManagerService.setForcedDisplaySize(WindowManagerService.java:6004)
at com.android.server.wm.WindowManagerShellCommand.runDisplaySize(WindowManagerShellCommand.java:198)
at com.android.server.wm.WindowManagerShellCommand.onCommand(WindowManagerShellCommand.java:76)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.wm.WindowManagerService.onShellCommand(WindowManagerService.java:1239)
at android.os.Binder.shellCommand(Binder.java:1073)
at android.os.Binder.onTransact(Binder.java:901)
at android.view.IWindowManager$Stub.onTransact(IWindowManager.java:2886)
at com.android.server.wm.WindowManagerService.onTransact(WindowManagerService.java:1490)
at com.android.server.wm.OplusWindowManagerService.onTransact(OplusWindowManagerService.java:255)
at android.os.Binder.execTransactInternal(Binder.java:1331)
at android.os.Binder.execTransact(Binder.java:1268)
Granting permission via ADB (Oneplus) - Using the Equalizer - Q&A - Poweramp文章来源:https://www.toymoban.com/news/detail-768357.html
重启设备(重要),重启设备(重要),重启设备(重要)文章来源地址https://www.toymoban.com/news/detail-768357.html
到了这里,关于一加手机 执行adb错误问题 需要权限的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!