안드로이드 예제 소스를 받았더니 안드로이드 스튜디어 3.0에서 아래와 같은 오류를 만났습니다.
Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor' configuration instead.제가 찾아 정리한 해결 방법은 아래와 같습니다.
1. 아래의 문장을 app level의 build.gradle 파일에서 제거 합니다.
plugins {
id "me.tatarka.retrolambda" version "3.2.5"
}2. 그러면 아래와 같은 오류만 남습니다.
/Users/gunman/work/noshow/ble/Bluetooth-LED-Matrix-App/app/build.gradle Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor' configuration instead.
3. 다시 아래의 문장을 app level의 build.gradle 파일에서 제거 합니다.
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
:
apply plugin: 'android-apt'
:
apt 'com.jakewharton:butterknife-compiler:8.3.0'
이러니 깔끔하게 빌드가 되었습니다.
건투를 빕니다 ㅋ