Package list crossguid / 79a0bdf2-5530-4d8b-9b66-6510b44787a5/main android.sh
79a0bdf2-5530-4d8b-9b66-6510b44787a5/main

Tree @79a0bdf2-5530-4d8b-9b66-6510b44787a5/main (Download .tar.gz)

android.sh @79a0bdf2-5530-4d8b-9b66-6510b44787a5/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