Switch to your android project path, and input command:
android update project -p .2. This is optional, if you need sign key for your apk file. You need to create a property file for ANT sign procedure.
This property file contains:
key.store=path/to/your/key3. Make sure your ANT is installed. Please refer to http://ant.apache.org/
key.store.password=yourkeypassword
key.alias=youraliasname
key.alias.password=youraliaspassword
If you're using Windows, add ANT_HOME and point to your ant path into your system environment variable.
Also add ANT_HOME\bin\ into your path system environment variable.
Build command is:
ant debugFor release and signed apk (ant will do sign procedure automatically):
ant release
No comments:
Post a Comment