you can't run adb commands directly using appium client. I saw a request for such functionality maybe a half year ago and the conclusion was that if there is some specific adb command user want to execute and it is not covered with appium functionality, you have to do it on your own. issue
代码里自己调 adb 来用执行吧,说起来我还不知道 execute 这方法怎么用