This article is translated from Androd official technical document "AAR Format", original address:http://tools.android.com/tech-docs/new-build-system/ Aar-format.
This article address: http://blog.csdn.net/maosidiaoxian/article/details/41578499. Reprint please indicate the source. Please correct me if there is any inappropriateness in the translation.
AAR Format
The "AAR" package is a binary release package for the Android Class Library project. The file name extension is. AAR, the MAVEN project type should also beAAR, but the file itself is a zip file with the following items:
- /androidmanifest.xml (mandatory)
- /classes.jar (mandatory)
- /res/ (mandatory)
- /r.txt (mandatory)
- /assets/ (optional)
- /libs/*.jar (optional)
- /jni/<abi>/*.so (optional)
- /proguard.txt (optional)
- /lint.jar (optional)
These entries are directly bits of the zip file root directory. R.txt file isAAPTWith parameters--output-text-symbolsOutput of the data. |
Android official technical document translation--aar format