반응형

아래의 내용을 app의 build.gradle에 추가하지 않으면 aar파일을 인식 할 수 없다


repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}

aar파일은 app/libs에 복사 후 아래와 같은 내용을 추가한다.


dependencies {
...
compile '{패키지명}:{aar 파일 이름}:{aar버전}@aar'
}


+ Recent posts