From d786b7d839219155556fda4181188927701c9103 Mon Sep 17 00:00:00 2001 From: Nirothipan Date: Tue, 20 Jun 2017 10:52:16 +0530 Subject: [PATCH] Edits --- .../java/org.carbon.android.emulator/TryIt.java | 2 +- .../resources/android-tryit/startEmulator.bat | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java index f911a2812a..e3e100c4d1 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java @@ -329,7 +329,7 @@ public class TryIt { System.out.println("\nAvailable AVDs in the system\n"); int count = 1; for (String device : devices) { - System.out.println(count + " - - " + device); + System.out.println(count + ") " + device); count++; } System.out.print("\nEnter AVD number to start (eg: 1) :"); diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/android-tryit/startEmulator.bat b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/android-tryit/startEmulator.bat index 2cccdcdee6..c6f82114fe 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/android-tryit/startEmulator.bat +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/android-tryit/startEmulator.bat @@ -1,3 +1,4 @@ +@echo off echo Welcome SET sdk_tools_url="https://dl.google.com/android/repository/tools_r25.2.5-windows.zip" @@ -7,12 +8,12 @@ SET platform_url="https://dl.google.com/android/repository/platform-23_r03.zip" SET sys_img_url="https://dl.google.com/android/repository/sys-img/android/x86-23_r09.zip" SET haxm_url="https://dl.google.com/android/repository/extras/intel/haxm-windows_r6_0_5.zip" -java\ - -Dsdk_tools_url=%sdk_tools_url%\ - -Dplatform_tools_url=%platform_tools_url%\ - -Dbuild_tools_url=%build_tools_url%\ - -Dplatform_url=%platform_url%\ - -Dsys_img_url=%sys_img_url%\ - -Dhaxm_url=%haxm_url%\ +java^ + -Dsdk_tools_url=%sdk_tools_url%^ + -Dplatform_tools_url=%platform_tools_url%^ + -Dbuild_tools_url=%build_tools_url%^ + -Dplatform_url=%platform_url%^ + -Dsys_img_url=%sys_img_url%^ + -Dhaxm_url=%haxm_url%^ -jar EmulatorJava.jar echo