Skip to content

Instantly share code, notes, and snippets.

@gipi

gipi/gist:1292237

Created Oct 17, 2011
Embed
What would you like to do?
Install an APK in all running emulators/devices
# ant clean && ant debug && adbInstallAll
adbInstallAll() {
adb devices | \
sed '1d;/^$/d;' | \
awk '{print $1}' | \
while read device;
do
adb -s $device install -r bin/*-debug.apk
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment