How to manually include external aar package using new Gradle Android Build System

后端 未结 23 1843
故里飘歌
故里飘歌 2020-11-22 03:58

I\'ve been experimenting with the new android build system and I\'ve run into a small issue. I\'ve compiled my own aar package of ActionBarSherlock which I\'ve called \'act

23条回答
  •  臣服心动
    2020-11-22 04:11

    If you use Gradle Kotlin DSL, you need to add a file in your module directory.

    For example: libs/someAndroidArchive.aar

    After just write this in your module build.gradle.kts in dependency block:

    implementation(files("libs/someAndroidArchive.aar"))
    

提交回复
热议问题