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

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

    Just to simplify the answer

    If .aar file is locally present then include
    compile project(':project_directory') in dependencies of build.gradle of your project.

    If .aar file present at remote then include compile 'com.*********.sdk:project_directory:0.0.1@aar' in dependencies of build.gradle of your project.

提交回复
热议问题