slidingmenu添加到androidStudio

在build.gradle添加

allprojects {
    repositories {
        flatDir {
            dirs 'libs' //this way we can find the .aar file in libs folder
        }
        jcenter()
    }
}
在app.gradle添加

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile(name: 'slidingmenu_library-release', ext: 'aar')
}

你可能感兴趣的:(slidingmenu添加到androidStudio)