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

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

oecreview from 11518 to present

File size: 1.5 KB
  • proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android-sdk/install.sh

     
    11#This installs the Android SDK (Software Development Kit)
    22#which is needed for the compilation of the Java project.
    33
    4 step=3;
     4step=2;
    55
    66#Different steps here.
    77#1: install sdk, ant and sdk tools
     
    4747
    4848        #Here we delete the Android-4.0.3 device if it already exists.
    4949        cd $present_dir/install-sdk/tools
    50         ./android delete avd -n $default_droid
    5150
     51    if [ -e $ISSM_TIER/externalpackages/android-emulators/$default_droid ]
     52    then
     53        echo "Deleting previously created device: $default_droid"
     54            ./android delete avd -n $default_droid
     55    fi
     56
    5257        #Android will prompt the user to specify hardware emulation options. For now, default
    5358        #default settings will suffice. Press 'enter' to take default settings or enter 'no'.
    5459
    55         ./android create avd -f -n $default_droid -t 1
    56         ./android move avd -n Android-4.0.3 -p $ISSM_TIER/externalpackages/android-emulators/$default_droid
    57 
     60        ./android create avd -f -n $default_droid -t 1 -p $ISSM_TIER/externalpackages/android-emulators/$default_droid --abi armeabi-v7a
    5861fi
    5962
    60 
    6163if [[ $step == "3" ]]; then
    6264       
    6365        cd $present_dir/install-sdk/tools
    6466        ./emulator -avd $default_droid
     67
    6568fi
    6669
    6770if [[ $step == "4" ]]; then
Note: See TracBrowser for help on using the repository browser.