Android official technical document translation--aar format

Source: Internet
Author: User

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

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.