Android External Library Reference

Source: Internet
Author: User

Structure of a library project a library project is a project that contains source code and resources, which can be referenced by other projects, allowing other projects to use the codes and resources it contains. Multiple Android Application projects can reference the same library project, and a single Android application project can also reference multiple library items.


Main project: Projects that need to introduce external libraries

Subproject: The project that was introduced, the library project


1. Ensure that the SDK Android version used by the subproject must <= the version in the main app

2. Set a subproject as a library item


3. Introducing the Library project into the main project


4. The entry activity of the subproject needs to be registered as normal activity in the manifest of the main project.

5. Because the files in the assets folder of the Android project will not be compiled, it is necessary to copy all the contents of the project assets to the main project (problems found when using the Worklight build auto-generated project), and then run the main project to


Android External Library Reference

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.