Package list crossguid / a17cf88f-a4fa-4bcc-9e54-1a8c43b5d32c/main android.sh
a17cf88f-a4fa-4bcc-9e54-1a8c43b5d32c/main

Tree @a17cf88f-a4fa-4bcc-9e54-1a8c43b5d32c/main (Download .tar.gz)

android.sh @a17cf88f-a4fa-4bcc-9e54-1a8c43b5d32c/mainraw · history · blame

#!/usr/bin/env bash

pushd android
ndk-build clean || { exit 1; }
ndk-build || { exit 1; }
ant debug || { exit 1; }
adb uninstall ca.graemehill.crossguid.testapp || { exit 1; }
adb install bin/TestApp-debug.apk || { exit 1; }
adb shell am start -n ca.graemehill.crossguid.testapp/ca.graemehill.crossguid.testapp.MainActivity
popd