티스토리 뷰
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:15300x250
|
300x250
|
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 |
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- onContextItemSelected
- 리워드앱
- bindservice
- onCreateContextMenu
- android activity flag
- 앱테크 추천
- RoomDatabase
- android task
- task 생성
- 채굴앱
- 앱테크
- 안드로이드 서비스
- Intent
- BroadcastReceiver
- StartService
- StringUtils
- registerForContextMenu
- mPANDO
- android flag activity
- 리워드 어플
- Android Service
- M2E
- notifyDataSetChanged
- task
- 무료 채굴
- android intent
- 무료채굴
- p2e
- WEMIX
- 안드로이드 인텐트
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
글 보관함