ubuntu-15.10-android-install-all-devices.sh 413 Bytes
Newer Older
1 2
#!/usr/bin/env bash
# Build the Android app and install it on all connected devices.
3
set -e
4
./ubuntu-15.10-dependencies.sh
5 6
cd client-android
./compile.sh
7
# TODO use gradlew instead.
8 9
# From: http://stackoverflow.com/questions/8610733/how-can-i-adb-install-an-apk-to-multiple-connected-devices
adb devices | tail -n +2 | cut -sf 1 | xargs -i'{}' adb -s '{}' install ring-android/app/build/outputs/apk/app-debug.apk