apkと同じフォルダに以下のシェルスクリプトを配置する。
ADB_PATH=/Users/[username]/Library/Android/sdk/platform-tools PACKAGE_NAME=[packagename] CURRENT_DIR=`dirname $0` echo uninstall $ADB_PATH/adb uninstall $PACKAGE_NAME echo install $ADB_PATH/adb install $CURRENT_DIR/[apkname].apk echo start $ADB_PATH/adb shell am start -n $PACKAGE_NAME/com.dynamo.android.DefoldActivity echo logcat $ADB_PATH/adb logcat -s defold