Android Studio add local .aar reference
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}
//way1:
dependencies {
compile 'com.kevinpelgrims.library:library:1.0.0@aar'
}
//or way2: store the .aar file in libs
dependencies {
compile(name:'libraryfilename', ext:'aar')
}