How Android Studio joins the Project (project) for the library (for non-gradle)

Source: Internet
Author: User

This article has some differences with project,gradle build for non-gradle build. It's easy to reference other project-based libraries in eclipse, but it's a little bit more complicated in Android studio. How do you refer to another project as the library for this project, first you will import the project you are referencing as a module. How to import module, see this article:how Android Studio Import module (for non-gradle)

After the Projectimport into module, detailed operation look at the picture:

The same, open project structure, and click on the module you want to use as the library. Then click on Android, in the right frame of the library module before √ hit.


Select the module you want to refer to, such as a button that operates in a red box.


In the popup dialog box, select the library module you want to refer to (there will be several module on this side depending on how many module you have set to Lirary module)

Click OK after. You can see that the library module that you introduced in the Export box appears, select the Library module. Then Apply,ok can.


How Android Studio joins the Project (project) for the library (for non-gradle)

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.