리소스까지 포함해서 라이브러리를 만들력고 하다보니 Jar가 아닌 aar로 만들어야 한다고 하셔서
어제 다라 해보았는데 aar로 추출된 라이브러리가 적용되지 않아 질문드립니다.
일단
라이브러리설정은
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion "25.0.0"
defaultConfig {
// applicationId "lwclibrary.customview.com.lwc_customview"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
// lintOptions {
// abortOnError false
// }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
}
이렇게 해서 Gradle 에서 clean 한뒤 assembleRelease 해서 aar을 추출하였구요
그다음 적용할 프로젝트에서

적용하고
프로젝트에서 파일을 클릭하면

이렇게 나오는데 정상적으로 aar파일이 추출된건가요 ?
그런데 프로젝트에서 사용하려고하면 아무것도 나오지 않아서 ...
뭐가 잘못된건지.. 잘 모르겠습니다...