adb not found

来源:互联网 发布:用windows7引导ubuntu 编辑:程序博客网 时间:2024/06/01 21:39

adb 执行命令

String command = String.format("adb -s %s:%s shell \"cat /system/build.prop | grep product.model\"",object);

时,提示not found


应该修改为

String command = String.format("adb -s %s:%s shell cat /system/build.prop | grep product.model",object);

去掉“”就行

String command = String.format("adb -s %s:%s shell \"cat /system/build.prop | grep product.model\"",object);
0 0
原创粉丝点击