|
|
@ -97,7 +97,6 @@ public class TryIt {
|
|
|
|
Process startShell = startShellProcessBuilder.start();
|
|
|
|
Process startShell = startShellProcessBuilder.start();
|
|
|
|
System.out.println("Connected to device shell");
|
|
|
|
System.out.println("Connected to device shell");
|
|
|
|
startShell.waitFor();
|
|
|
|
startShell.waitFor();
|
|
|
|
startShell.destroy();
|
|
|
|
|
|
|
|
} catch (IOException | InterruptedException ignored) {
|
|
|
|
} catch (IOException | InterruptedException ignored) {
|
|
|
|
// script can continue without this process
|
|
|
|
// script can continue without this process
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -664,7 +663,7 @@ public class TryIt {
|
|
|
|
makeDirectoryError(haxmLocation,androidSdkHome);
|
|
|
|
makeDirectoryError(haxmLocation,androidSdkHome);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
String folderName = "_haxm.zip";
|
|
|
|
String folderName = "_haxm.zip";
|
|
|
|
getTools(Constants.HAXM_URL, haxmLocation + File.separator
|
|
|
|
getTools(System.getProperty(Constants.HAXM_URL), haxmLocation + File.separator
|
|
|
|
+ folderName);
|
|
|
|
+ folderName);
|
|
|
|
String haxmInstaller = haxmLocation + File.separator + "silent_install";
|
|
|
|
String haxmInstaller = haxmLocation + File.separator + "silent_install";
|
|
|
|
if (osSuffix.equals(Constants.WINDOWS_OS)) {
|
|
|
|
if (osSuffix.equals(Constants.WINDOWS_OS)) {
|
|
|
|