try this path to add any library
first go to app folder -> Open Module settings -> go to the dependencies tab -> Click on the '+' button -> click on Module Dependency or if you know the library name just add it to dependencies as
dependencies {
compile 'com.android.support:appcompat-v7:22.1.0' // your project library name
}