Codebase list crossguid / d8dd3e83-c983-4462-81c4-25fde0fc7fd0/main android.sh
d8dd3e83-c983-4462-81c4-25fde0fc7fd0/main

Tree @d8dd3e83-c983-4462-81c4-25fde0fc7fd0/main (Download .tar.gz)

android.sh @d8dd3e83-c983-4462-81c4-25fde0fc7fd0/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