Official android Technical Documentation translation-aar format, androidaar
This article is translated from the official androd technical document AAR Format. The original address is http://tools.android.com/tech-docs/new-build-system/developer-format.
URL: http://blog.csdn.net/maosidiaoxian/article/details/42678499. Indicate the source for reprinting. If any translation error occurs, please correct it.
AAR format
The "aar" package is the binary release package of the Android class library project. The file extension is. aar, And the maven project type should also be aar, but the file itself contains the following zip files:
- /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 stored in the root directory of the zip file. The R.txt file is the output result of aapt with the parameter -- output-text-symbols. |