Package list crossguid / 6dd52025-36b9-4126-be8c-0d4e67f0686c/main android.sh
6dd52025-36b9-4126-be8c-0d4e67f0686c/main

Tree @6dd52025-36b9-4126-be8c-0d4e67f0686c/main (Download .tar.gz)

android.sh @6dd52025-36b9-4126-be8c-0d4e67f0686c/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