Android Library Project using Android Studio

后端 未结 6 2061
离开以前
离开以前 2021-01-31 16:12

This question might have been answered somewhere but couldn\'t find the appropriate one.

I want to know how can I create a common utility library project in Android Stud

6条回答
  •  醉话见心
    2021-01-31 16:42

    I'm just doing:

    include '..:commons'
    

    in settings.gradle

    and:

      compile project(':..:commons')
    

    in build.gradle of the referencing project

    so you can place your commonly used lib outside the project

提交回复
热议问题