2012-11-22 16:19:14 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
2012-11-24 12:12:35 -05:00
|
|
|
declare -a densities=("160" "213" "240" "320")
|
|
|
|
declare -a resolutions=("320x480" "480x640" "480x800" "480x854" "640x960" "1024x600" "1024x768" "1280x768" "1536x1152" "1920x1200")
|
2012-11-22 16:19:14 -05:00
|
|
|
declare -a targets=("android-16")
|
|
|
|
|
|
|
|
for target in ${targets[@]}
|
|
|
|
do
|
2012-11-24 12:12:35 -05:00
|
|
|
for density in ${densities[@]}
|
2012-11-22 16:19:14 -05:00
|
|
|
do
|
|
|
|
|
2012-11-24 12:12:35 -05:00
|
|
|
for resolution in ${resolutions[@]}
|
|
|
|
do
|
|
|
|
name="AVD"
|
|
|
|
name="$name$density"
|
|
|
|
name="$name$resolution"
|
|
|
|
name="$name$target"
|
|
|
|
|
|
|
|
$ANDROID_HOME/tools/android -s delete avd -n $name
|
2012-11-22 16:19:14 -05:00
|
|
|
|
2012-11-24 12:12:35 -05:00
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|