Include AAR dependency in Android Library Project

前端 未结 4 1908
北荒
北荒 2021-02-06 10:16

In my Android Studio Gradle project I use several libraries, whereas one library should use a local AAR file as dependency. I used the popular solution to include the AAR file a

4条回答
  •  梦毁少年i
    2021-02-06 10:31

    I had it working like this:

    compile 'com.example.lib:lib_name:1.0.0@aar'
    

    In this example lib_name:1.0.0.aar is file name.

提交回复
热议问题