引用aar 报错only jar-type local dependencies are supported

创建个本地仓库并添加依赖

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile(name:'guideview-release', ext:'aar')
//    compile project(':guideview')
}
repositories {
    flatDir{
        dirs 'libs'
    }
}

你可能感兴趣的:(自用笔记,jar)