Use ant to compile Android Projects

Source: Internet
Author: User
Tags subversion client

As for ant and how to use ant for Android automatic compilation, it is difficult to find the appropriate materials during the course of learning.

After my personal study of ant, I have compiled the following documents, which may be helpful for your study.

Related books and PDF:

  • Ant getting started and advanced

Tip:

1. If you want to quickly get started and automatically compile the android project, see: Android senior required ant compilation Android Project

This is an example of how to quickly compile the SDK using the ant compilation system that comes with Android.

2. If you want to know the beginning and end of the compiled system that android has integrated, see building and running from the command line.

This section contains a lot of information you want, including how to use ant to compile, how to sign, and how to expand the default build. XML functions. Of course, it is in English.

3. if you want to step by step understand how to generate an APK using commands, this connection will be useful: Use ant to package Android applications

4. if you want to learn ant from start to end and view relevant functions, the Manual document provided by ant should be helpful to you, for example, XXX \ ant \ apache-ant-1.8.4 \ manual \ index.html.

Others:

1. Do not know about signatures. For details, refer to: Android Learning Series (1) -- sign an app (signature an APK)

2. Compile ant and build. XML documents

Problems and Solutions:

1. Problems with SVN integration.

Problem: you are using the SVN version> = v1.7, which causes problems during ant integration. The following log is displayed:
Svn1.7 appears to be part of a subversion 1.7 or greater working copy. Please upgrade your subversion client to use this
Solution: use the latest svnant source to re-compile and overwrite the ant/lib directory. Of course, after compilation, you need to remove the related labels when using SVN-related commands.
Svnant does not support SVN version 1.7. What to do?

(Sorting ...)

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.