반응형
📄 build.gradle Source Code
android
{
...
lintOptions { disable 'InvalidPackage' }
packagingOptions { exclude 'META-INF/services/javax.annotation.processing.Processor' }
...
}
📄 ProguardFiles [proguard-project.txt, proguard-rules.pro] Source Code
# butter knife
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}
-keepclasseswithmembernames class * {
@butterknife.* <methods>;
}
🚀 REFERENCE
반응형
'#모바일 [Mobile] > Android' 카테고리의 다른 글
[Android] 상태바 숨기기 (How to hide status bar?) (0) | 2019.09.02 |
---|---|
[Android] Custom Dialog 띄우기 (How to create a Custom Dialog in android?) (0) | 2019.08.07 |
[Android] AsyncTask (0) | 2019.07.25 |
[Android - OpenSource] Butter Knife (0) | 2019.07.25 |
[Android] Ripple Drawable (버튼 눌림 효과, 물결 효과) (0) | 2019.07.24 |
댓글