1 Apache ant installation, configuring environment variables
1.1:
http://ant.apache.org/
1.2 Environment variable configuration:
Add the full path of/bin in the extracted folder to path
2 Create new Android Project under command line
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/45/C1/wKiom1Pq4WmxDg8UAABw-xAFaWE979.jpg "title=" screen Shot 2014-08-13 at 11.53.17 am.png "alt=" Wkiom1pq4wmxdg8uaabw-xafawe979.jpg "/> namely: Android Create Project-k com.ant.t Est-n anttest-a anttestactivity-t 7-p/users/lincoln/desktop/anttest
Detailed
Android Create project: Creating an Android Item
-K: Registration
-n:appname
-a:activity Name
-T: Target ID used by the project, (Android list targets get all target IDs)
-P: Save path
3 Ant Build command
Ant Debug:debug version, using the default signature KeyStore
Ant release: Using a release version, you can use a signature or not a signature.
This article is from the "Heart to Bodhi" blog, please be sure to keep this source http://zhongkun.blog.51cto.com/1057583/1539317