Givins as system properties

revert-dabc3590
Nirothipan 8 years ago
parent 944a28aae0
commit 414af3339e

@ -1,19 +1,17 @@
@echo off @echo off
echo Welcome echo Welcome
SET sdk_tools_url="https://dl.google.com/android/repository/tools_r25.2.5-windows.zip"
SET platform_tools_url="http://dl.google.com/android/repository/platform-tools_r25.0.3-windows.zip"
SET build_tools_url="https://dl.google.com/android/repository/build-tools_r25.0.2-windows.zip"
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^ java^
-Dsdk_tools_url=%sdk_tools_url%^ -Dsdk.tools.url="https://dl.google.com/android/repository/tools_r25.2.5-windows.zip"^
-Dplatform_tools_url=%platform_tools_url%^ -Dplatform.tools.url="http://dl.google.com/android/repository/platform-tools_r25.0.3-windows.zip"^
-Dbuild_tools_url=%build_tools_url%^ -Dbuild.tools.url="https://dl.google.com/android/repository/build-tools_r25.0.2-windows.zip"^
-Dplatform_url=%platform_url%^ -Dplatform.url="https://dl.google.com/android/repository/platform-23_r03.zip"^
-Dsys_img_url=%sys_img_url%^ -Dsys.img.url="https://dl.google.com/android/repository/sys-img/android/x86-23_r09.zip"^
-Dhaxm_url=%haxm_url%^ -Dhaxm.url="https://dl.google.com/android/repository/extras/intel/haxm-windows_r6_0_5.zip"^
-jar EmulatorJava.jar -Ddownloaded.build.tool.name="android-7.1.1"^
-Dbuild.tool.version="25.0.2"^
-Ddownloaded.platform.name="android-6.0"^
-Dtarget.version="android-23"^
-Dos.target="x86"^
-jar EmulatorJava.jar
echo echo

@ -6,19 +6,17 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
OS_SUFFIX="macosx" OS_SUFFIX="macosx"
fi fi
sdk_tools_url="https://dl.google.com/android/repository/tools_r25.2.5-$OS_SUFFIX.zip"
platform_tools_url="http://dl.google.com/android/repository/platform-tools_r25.0.3-$OS_SUFFIX.zip"
build_tools_url="https://dl.google.com/android/repository/build-tools_r25.0.2-$OS_SUFFIX.zip"
platform_url="https://dl.google.com/android/repository/platform-23_r03.zip"
sys_img_url="https://dl.google.com/android/repository/sys-img/android/x86-23_r09.zip"
haxm_url="https://dl.google.com/android/repository/extras/intel/haxm-macosx_r6_0_5.zip"
java\ java\
-Dsdk_tools_url=$sdk_tools_url\ -Dsdk.tools.url="https://dl.google.com/android/repository/tools_r25.2.5-$OS_SUFFIX.zip"\
-Dplatform_tools_url=$platform_tools_url\ -Dplatform.tools.url="http://dl.google.com/android/repository/platform-tools_r25.0.3-$OS_SUFFIX.zip"\
-Dbuild_tools_url=$build_tools_url\ -Dbuild.tools.url="https://dl.google.com/android/repository/build-tools_r25.0.2-$OS_SUFFIX.zip"\
-Dplatform_url=$platform_url\ -Dplatform.url="https://dl.google.com/android/repository/platform-23_r03.zip"\
-Dsys_img_url=$sys_img_url\ -Dsys.img.url="https://dl.google.com/android/repository/sys-img/android/x86-23_r09.zip"\
-Dhaxm_url=$haxm_url\ -Dhaxm.url="https://dl.google.com/android/repository/extras/intel/haxm-macosx_r6_0_5.zip"\
-Ddownloaded.build.tool.name="android-7.1.1"\
-Dbuild.tool.version="25.0.2"\
-Ddownloaded.platform.name="android-6.0"\
-Dtarget.version="android-23"\
-Dos.target="x86"\
-jar EmulatorJava.jar -jar EmulatorJava.jar
echo echo

Loading…
Cancel
Save