In project development, we sometimes need to package a feature or module in the project into an SDK for other companies or departments to call, in order to quickly achieve a certain function. The following describes my development in the entire course of thought, if found to be wrong or unclear, please leave a message, I will regularly review the replies and discuss together.
1. Create a new project and create a new module in the project.
2. After creating a library that relies on libraries, we can implement the logic we need in it. In general, when we write, we often need to write our own app demo call to test whether our code can complete the required functions, this time can be the library relies on libraries to add the project in the App module module, specific to the app In the module's Gradle, add the following dependencies under dependencies:
Compile project (': MyLibrary ')
3. So it is very simple to build our project development environment, the next article describes how to implement the SDK code writing, etc., please move to "library-based development of Android sdk--code calls"
Development of Android sdk--Environment building based on library