Codebase list crossguid / 37839012-af48-42bf-a7e3-c24d5ce9f0ee/main android.sh
37839012-af48-42bf-a7e3-c24d5ce9f0ee/main

Tree @37839012-af48-42bf-a7e3-c24d5ce9f0ee/main (Download .tar.gz)

android.sh @37839012-af48-42bf-a7e3-c24d5ce9f0ee/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