1
Process p = Runtime.getRuntime().exec(cmd);
PrintWriter p = new PrintWriter(p.getInputStream());
p.println("dir /c /d");
2
adb shell <cmd.txt
3
adb shell "am ba"
Process p = Runtime.getRuntime().exec(cmd);
PrintWriter p = new PrintWriter(p.getInputStream());
p.println("dir /c /d");
adb shell <cmd.txt
adb shell "am ba"
本文标题:cmd或shell如何执行adb shell之后的命令
本文链接:https://www.haomeiwen.com/subject/sygtmttx.html
网友评论