Package list crossguid / ed58dd17-3a98-4d09-a344-32954a5fec71/main android.sh
ed58dd17-3a98-4d09-a344-32954a5fec71/main

Tree @ed58dd17-3a98-4d09-a344-32954a5fec71/main (Download .tar.gz)

android.sh @ed58dd17-3a98-4d09-a344-32954a5fec71/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