public void Bale (String logname){ //ant打包
System.out.println("-----------正在执行ant编译-----------");
execmd("cmd /c cd /d "+sdktoolspath+ " & android create uitest-project -n "+project+" -t 1 -p"+" \""+workspace_path+"\"",logname);
execmd("cmd /c "+sdkpath+" & "+" cd /d "+"\""+workspace_path+"\"" +" & "+ "ant build",logname );
}
//在每个命令间隔中间添加 & 就行