<sxh shell; title: install.sh>
ADBPATH=/Users/[username]/Library/Android/sdk/platform-tools
PACKAGENAME=[packagename]
CURRENTDIR=dirname $0
echo uninstall
$ADBPATH/adb uninstall $PACKAGENAME
echo install
$ADBPATH/adb install $CURRENTDIR/[apkname].apk
echo start
$ADBPATH/adb shell am start -n $PACKAGENAME/com.dynamo.android.DefoldActivity
echo logcat
$ADBPATH/adb logcat -s defold
</sxh>