Update tryit

This commit is contained in:
charitha 2018-12-31 09:23:22 +05:30
parent 24574baab6
commit f7cb8e50b1
2 changed files with 2 additions and 2 deletions

View File

@ -269,14 +269,14 @@ public class TryIt {
checkForSystemImages(); checkForSystemImages();
if (!new File(wso2AvdLocation).isDirectory()) { if (!new File(wso2AvdLocation).isDirectory()) {
Scanner read = new Scanner(System.in, StandardCharsets.UTF_8.toString()); Scanner read = new Scanner(System.in, StandardCharsets.UTF_8.toString());
System.out.print("Do you want to create WSO2_AVD with default configs (y/n)?: "); System.out.print("Do you want to create Entgra_AVD with default configs (y/n)?: ");
if (read.next().toLowerCase().matches("y")) { if (read.next().toLowerCase().matches("y")) {
createAVD(); createAVD();
return; return;
} }
} }
System.out.println("+----------------------------------------------------------------+"); System.out.println("+----------------------------------------------------------------+");
System.out.println("| WSO2 Android TryIt |"); System.out.println("| Entgra Android TryIt |");
System.out.println("+----------------------------------------------------------------+"); System.out.println("+----------------------------------------------------------------+");
emulatorLocation = androidSdkHome + File.separator + "tools" + File.separator + "emulator"; emulatorLocation = androidSdkHome + File.separator + "tools" + File.separator + "emulator";