Friday, May 25, 2012

Use ant to build android project

if the directory is different from where ant is in, use ./path to ant/ant [debug]



$ cd android-project-directory
$ android update project --path  This creates build.xml, default.properties, and local.properties for your project
Then, follow this link to use ant command to generate apk file



./android.bat update project -p SpeechRecV6/
/cygdrive/d/Android/apache-ant-1.8.4/bin/ant debug




No comments:

Post a Comment