티스토리 뷰
Android/Troubleshooting
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
parkho79 2021. 5. 24. 11:15728x90
Kotlin 으로 compile 하던 중 JVM target 이 맞지 않는다며 오류가 발생했다.
이번 포스팅에서는 해당 오류를 해결하는 방법에 대해 알아보자
Error message
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
Solution
하단과 같이 gradle 에 jvmTarget 을 명시하거나 kotlin compiler 설정을 변경하여 해결 할 수 있다.
◼ Gralde 에 jvmTarget 명시하기
◼ Kotlin compiler 설정하기
728x90
'Android > Troubleshooting' 카테고리의 다른 글
Could not find method buildFeatures() for arguments (0) | 2021.07.15 |
---|---|
registerForActivityResult 사용 시 IllegalStateException (2) | 2021.06.04 |
Android Studio 에서 Gradle Sync 오류 시 해결 방법 (0) | 2020.04.14 |
[ADB] INSTALL_FAILED_ALREADY_EXISTS (0) | 2020.03.19 |
getColor, getDrawable deprecated (0) | 2020.01.30 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- android task
- 안드로이드 서비스
- 앱테크 추천
- task
- WEMIX
- notifyDataSetChanged
- android flag activity
- android activity flag
- Android Service
- onCreateContextMenu
- onContextItemSelected
- 리워드 어플
- bindservice
- registerForContextMenu
- mPANDO
- RoomDatabase
- 무료 채굴
- android intent
- M2E
- 무료채굴
- 앱테크
- Intent
- StartService
- StringUtils
- BroadcastReceiver
- task 생성
- 안드로이드 인텐트
- 채굴앱
- p2e
- 리워드앱
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함