Summary of minor Android knowledge and minor android knowledge

Source: Internet
Author: User

Summary of minor Android knowledge and minor android knowledge

1. Android Studio compiles and packages the module into an aar file, and the module depends on

(For example

Compile 'com. zhy: autolayout: 1.4.3'

) Will not be packaged into the aar file. When the application introduces the aar file (whether local or network library Introduction), it also needs to be in the application (app) add the dependency of the aar module to the module dependency. Otherwise, the application will be crash during running.

Therefore, when developing sdk libraries (jar or aar), do not rely on third-party libraries as much as possible.

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