Development of Android sdk--Environment building based on library

Source: Internet
Author: User

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

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