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 ...)