- 在 build.gradle 文件中android 字段下添加
repositories {
flatDir {
dirs 'libs' //this way we can find the .aar file in libs folder
}
}
- 在 build.gradle 文件 dependencies 字段中添加
dependencies {
compile(name:'test', ext:'aar')
}
- OVER
repositories {
flatDir {
dirs 'libs' //this way we can find the .aar file in libs folder
}
}
dependencies {
compile(name:'test', ext:'aar')
}
本文标题:Android Studio 引用 aar 文件
本文链接:https://www.haomeiwen.com/subject/bzjlzxtx.html
网友评论