Codebase list crossguid / 4207fe38-99b5-4f47-8bea-b3b98a4c88c0/main android.sh
4207fe38-99b5-4f47-8bea-b3b98a4c88c0/main

Tree @4207fe38-99b5-4f47-8bea-b3b98a4c88c0/main (Download .tar.gz)

android.sh @4207fe38-99b5-4f47-8bea-b3b98a4c88c0/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