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