디버그 노트
안드로이드) cannot inline bytecode built with jvm target 1.8 into bytecode that is being built with jvm target 1.6. please specify proper '-jvm-target' option 에러해결
Henry95
2020. 10. 11. 08:46
반응형
윈도우 기준
File-settings안의 kotlin compiler 안의 target JVM version을 바꿔준다
맥 기준
Android Stidio - Preferences 안의 kotlin compiler 안의 target JVM version을 바꿔준다
1.x -> 1.8
그리고
app수준 그래들 파일에 android{} 안에 아래와 같은 코드를 넣어준다
그리고 rebuild project 하면 해결된다.
반응형