Android Studio
(Android Studio) 안드로이드 스튜디오 업그레이드 후 빌드 warning 발생 대처법
SAFE
2018. 9. 1. 20:36
build.gradle 파일 수정이 필요함.
* DexOptions.incremental' is obsolete and will be removed at the end of 2018.
출처 : https://stackoverflow.com/questions/37522668/android-dexoptions-incremental-property-is-deprecated/37537214
경고 :이 android.dexOptions.incremental속성은 사용되지 않으며 빌드 프로세스에는 영향을주지 않습니다.
dexOptions {
incremental true
jumboMode = true
}
dexOptions 제거
=====================
* compile' is obsolete and has been replaced with 'implementation' and 'api'.
출처 : https://sikeeoh.github.io/2017/08/28/implementation-vs-api-android-gradle-plugin-3/
모든 compile을 implementation으로 바꾸고 프로젝트를 빌드해보세요.