Skip to content

Instantly share code, notes, and snippets.

@Jerakin
Last active September 12, 2016 21:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jerakin/862052d76a8a6a07df1b5ef923556295 to your computer and use it in GitHub Desktop.
Save Jerakin/862052d76a8a6a07df1b5ef923556295 to your computer and use it in GitHub Desktop.
REM My main disk
D:
REM Defold project
cd "D:\Defoldx86\branches\34041\2444\app"
REM Build with bob
java -jar "D:\Defoldx86\branches\34041\2444\app\tools\build\bob.jar" --archive --platform "armv7-android" --bundle-output "C:\Users\mattias\Desktop\builds" --debug distclean build bundle
REM Move to adb folder
cd D:\Developer\Android\sdk\platform-tools
REM Uninstall old apk
adb uninstall com.mattias.app
REM install new apk
adb install "C:\Users\mattias\Desktop\builds\App\App.apk"
REM start app on phone
adb shell am start -n com.mattias.app/com.dynamo.android.DefoldActivity
REM Start the log see defold output
adb logcat -s defold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment