Skip to content

Instantly share code, notes, and snippets.

@bmoore
Created April 26, 2013 18:26
Show Gist options
  • Save bmoore/5469346 to your computer and use it in GitHub Desktop.
Save bmoore/5469346 to your computer and use it in GitHub Desktop.
Android build and Ant debug install tool
#!/bin/bash
android update project --path ./
if [ $? -ne 0 ]
then
exit
fi
ant debug install
if [ $? -ne 0 ]
then
exit
fi
#adb shell am start -a android.intent.action.MAIN -n com.example.helloworld/.MainActivity
#if [ $? -ne 0 ]
#then
# exit
#fi
@bmoore
Copy link
Author

bmoore commented Apr 26, 2013

Maybe even start the project from the tool as well... Want to parse AndroidManifest.xml and get the right parameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment