mac eclipse 执行adb 命令,提示command not fount

java执行命令: p = Runtime.getRuntime().exec(commandStr);

[INFO ] 执行命令结果:nullbash: adb: command not found

 

 

java.io.IOException: Cannot run program "adb": error=2, No such file or directory

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at java.lang.Runtime.exec(Runtime.java:620)

at java.lang.Runtime.exec(Runtime.java:450)

at java.lang.Runtime.exec(Runtime.java:347)

 

posted @   testway  阅读(722)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示