Changeset 11718
- Timestamp:
- 03/15/12 13:47:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/externalpackages/android-sdk/install.sh ¶
r11673 r11718 2 2 #which is needed for the compilation of the Java project. 3 3 4 step= 1;4 step=3; 5 5 6 6 #Different steps here. … … 11 11 12 12 present_dir=`pwd`; 13 default_droid="Android-4.0.3" 13 14 14 15 if [[ $step == "1" ]]; then … … 31 32 #For now, we need to install: 32 33 #android sdk platform tools 33 #a specific android api: API 15 34 #and a specific android api: API 15 35 #Note: API 15 corresponds to Android 4.0.3 34 36 35 cd install-sdk/tools/ && source ./android 37 cd install-sdk/tools/ && source ./android update sdk -t platform-tools,android-15 --no-ui 38 36 39 fi 37 40 … … 42 45 #For now, it's called: Android-4.0.3 43 46 47 48 #Here we delete the Android-4.0.3 device if it already exists. 44 49 cd $present_dir/install-sdk/tools 45 ./android avd 46 mv ~/.android/avd/Android-4.0.3.* $ISSM_TIER/externalpackages/android-emulators 50 ./android delete avd -n $default_droid 51 52 #Android will prompt the user to specify hardware emulation options. For now, default 53 #default settings will suffice. Press 'enter' to take default settings or enter 'no'. 54 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 47 57 48 58 fi … … 51 61 if [[ $step == "3" ]]; then 52 62 53 cd $present_dir/install-sdk/platform-tools 54 ./adb -p "$ISSM_TIER/externalpackages/android-emulators" devices 55 63 cd $present_dir/install-sdk/tools 64 ./emulator -avd $default_droid 56 65 fi 57 66
Note:
See TracChangeset
for help on using the changeset viewer.