How to add a project as a library (for non-gradle) in Android Studio)
This article focuses on non-gradle build projects. There are some differences in gradle build. It is very easy to reference other projects as the library of this project in Eclipse, but it is a little complicated in Android Studio. So how to reference other projects as the library of this project? First, you need to import the project you want to reference as a module. How to Import module, read this article: How to import module in Android Studio (for non-gradle)
After the project is imported into a module, the specific operations are shown in the figure:
Similarly, open the Project structure, click the module you want to use as the library, then click android, and tick it in front of the Library module on the right border.
Select the module you want to reference, such as the button in the red box.
In the pop-up dialog box, select the Library module you want to reference. (several modules depend on the number of modules you set to Lirary module)
Click OK. You can see that the Library module you introduced is displayed in the Export box. Select the Library module, and then apply and OK. <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20141011/20141011083441138.jpg" alt = "">