source: issm/oecreview/Archive/11821-11840/ISSM-11825-11826.diff

Last change on this file was 11991, checked in by Eric.Larour, 13 years ago

oecreview from 11518 to present

File size: 1.5 KB
RevLine 
[11991]1Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android-sdk/install.sh
2===================================================================
3--- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android-sdk/install.sh (revision 11825)
4+++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android-sdk/install.sh (revision 11826)
5@@ -1,7 +1,7 @@
6 #This installs the Android SDK (Software Development Kit)
7 #which is needed for the compilation of the Java project.
8
9-step=3;
10+step=2;
11
12 #Different steps here.
13 #1: install sdk, ant and sdk tools
14@@ -47,21 +47,24 @@
15
16 #Here we delete the Android-4.0.3 device if it already exists.
17 cd $present_dir/install-sdk/tools
18- ./android delete avd -n $default_droid
19
20+ if [ -e $ISSM_TIER/externalpackages/android-emulators/$default_droid ]
21+ then
22+ echo "Deleting previously created device: $default_droid"
23+ ./android delete avd -n $default_droid
24+ fi
25+
26 #Android will prompt the user to specify hardware emulation options. For now, default
27 #default settings will suffice. Press 'enter' to take default settings or enter 'no'.
28
29- ./android create avd -f -n $default_droid -t 1
30- ./android move avd -n Android-4.0.3 -p $ISSM_TIER/externalpackages/android-emulators/$default_droid
31-
32+ ./android create avd -f -n $default_droid -t 1 -p $ISSM_TIER/externalpackages/android-emulators/$default_droid --abi armeabi-v7a
33 fi
34
35-
36 if [[ $step == "3" ]]; then
37
38 cd $present_dir/install-sdk/tools
39 ./emulator -avd $default_droid
40+
41 fi
42
43 if [[ $step == "4" ]]; then
Note: See TracBrowser for help on using the repository browser.