开发者

Run ADB command using android program

I used

Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("C:\\Android\\android-sdk-windows\\platform-tools\\adb.exe forward tcp:7777 tcp:7777");

for port forwarding in adb using android program. But it shows

 Exception :: java.io.IOException: Error running exec(). Commands: [C:\Android\android-sdk-windows\platform-tools\adb.exe, forward, tcp:7777, tcp:7777] Working Directory: null Environment: null

what is the p开发者_Go百科roblem about the code?? Anyone can help me please..........

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜