Adding external library in Android studio 0.3.6

前端 未结 6 972
[愿得一人]
[愿得一人] 2020-12-13 13:42

So I am fairly new to Java, and I am trying to add this library to my project. The problem is that Android studio 0.3.6 doesn\'t have a simple way of doing that and all the

6条回答
  •  星月不相逢
    2020-12-13 14:20

    Create a new library module

    It is good development practice to group functionality that you may reuse in other apps inside a library module. To create a library module inside the BuildSystemExample project:

    Click File and select New Module.
    On the window that appears, select Android Library and click Next.
    Leave the default module name (lib) unchanged and click Next.
    Select Blank Activity and click Next.
    Type "LibActivity1" on the Activity Name field and click Finish.
    

    The project now contains two modules, app and lib, with one activity in each module. https://developer.android.com/sdk/installing/studio-build.html

提交回复
热议问题