Android Ant Batch Pack learning (one)

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.