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

后端 未结 23 1801
故里飘歌
故里飘歌 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:24

    Currently referencing a local .aar file is not supported (as confirmed by Xavier Ducrochet)

    What you can do instead is set up a local Maven repository (much more simple than it sounds) and reference the .aar from there.

    I've written a blogpost detailing how to get it working here:

    http://www.flexlabs.org/2013/06/using-local-aar-android-library-packages-in-gradle-builds

提交回复
热议问题